Class PlatformMessageLocalFilter
- java.lang.Object
-
- org.apache.ignite.internal.processors.platform.messaging.PlatformMessageLocalFilter
-
- All Implemented Interfaces:
Serializable,PlatformMessageFilter,IgniteBiPredicate<UUID,Object>
public class PlatformMessageLocalFilter extends Object implements PlatformMessageFilter
Interop local filter. Delegates apply to native platform, uses id to identify native target.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected longhndprotected PlatformContextplatformCtx
-
Constructor Summary
Constructors Constructor Description PlatformMessageLocalFilter(long hnd, PlatformContext ctx)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanapply(UUID uuid, Object m)Predicate body.booleanequals(Object o)inthashCode()voidinitialize(GridKernalContext ctx)Initializes the filter.voidonClose()Closes the filter.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.lang.IgniteBiPredicate
and
-
-
-
-
Field Detail
-
hnd
protected final long hnd
-
platformCtx
protected final PlatformContext platformCtx
-
-
Constructor Detail
-
PlatformMessageLocalFilter
public PlatformMessageLocalFilter(long hnd, PlatformContext ctx)Constructor.- Parameters:
hnd- Handle in the native platform.ctx- Context.
-
-
Method Detail
-
apply
public boolean apply(UUID uuid, Object m)
Predicate body.- Specified by:
applyin interfaceIgniteBiPredicate<UUID,Object>- Parameters:
uuid- First parameter.m- Second parameter.- Returns:
- Return value.
-
onClose
public void onClose()
Closes the filter.- Specified by:
onClosein interfacePlatformMessageFilter
-
initialize
public void initialize(GridKernalContext ctx)
Initializes the filter.- Specified by:
initializein interfacePlatformMessageFilter- Parameters:
ctx- Kernal context.
-
-