Class PlatformClusterNodeFilterImpl
- java.lang.Object
-
- org.apache.ignite.internal.processors.platform.PlatformAbstractPredicate
-
- org.apache.ignite.internal.processors.platform.cluster.PlatformClusterNodeFilterImpl
-
- All Implemented Interfaces:
Externalizable,Serializable,PlatformClusterNodeFilter,IgnitePredicate<ClusterNode>
public class PlatformClusterNodeFilterImpl extends PlatformAbstractPredicate implements PlatformClusterNodeFilter
Interop cluster node filter.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.ignite.internal.processors.platform.PlatformAbstractPredicate
ctx, pred, ptr
-
-
Constructor Summary
Constructors Constructor Description PlatformClusterNodeFilterImpl()Externalizablesupport.PlatformClusterNodeFilterImpl(Object pred, PlatformContext ctx)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapply(ClusterNode clusterNode)Predicate body.ObjectgetInternalPredicate()voidsetIgniteInstance(Ignite ignite)-
Methods inherited from class org.apache.ignite.internal.processors.platform.PlatformAbstractPredicate
readExternal, writeExternal
-
-
-
-
Constructor Detail
-
PlatformClusterNodeFilterImpl
public PlatformClusterNodeFilterImpl()
Externalizablesupport.
-
PlatformClusterNodeFilterImpl
public PlatformClusterNodeFilterImpl(Object pred, PlatformContext ctx)
Constructor.- Parameters:
pred- .Net binary predicate.ctx- Kernal context.
-
-
Method Detail
-
apply
public boolean apply(ClusterNode clusterNode)
Predicate body.- Specified by:
applyin interfaceIgnitePredicate<ClusterNode>- Parameters:
clusterNode- Predicate parameter.- Returns:
- Return value.
-
setIgniteInstance
@IgniteInstanceResource public void setIgniteInstance(Ignite ignite)
- Parameters:
ignite- Ignite instance.
-
getInternalPredicate
public Object getInternalPredicate()
- Returns:
- Filter itself
-
-