public class PlatformEventFilterListenerImpl extends Object implements PlatformEventFilterListener, Externalizable
Constructor and Description |
---|
PlatformEventFilterListenerImpl()
Externalizable support. |
PlatformEventFilterListenerImpl(long hnd,
PlatformContext ctx)
Constructor.
|
PlatformEventFilterListenerImpl(Object pred,
int... types)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
apply(Event evt)
Predicate body.
|
boolean |
apply(UUID uuid,
Event evt)
Predicate body.
|
boolean |
equals(Object o) |
int |
hashCode() |
void |
initialize(GridKernalContext gridCtx)
Initializes the filter.
|
void |
onClose()
Callback invoked when filter is closed.
|
void |
readExternal(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
public PlatformEventFilterListenerImpl()
Externalizable
support.public PlatformEventFilterListenerImpl(long hnd, PlatformContext ctx)
hnd
- Handle in the native platform.ctx
- Context.public PlatformEventFilterListenerImpl(Object pred, int... types)
pred
- .Net binary predicate.public boolean apply(Event evt)
apply
in interface IgnitePredicate<Event>
evt
- Predicate parameter.public boolean apply(UUID uuid, Event evt)
apply
in interface IgniteBiPredicate<UUID,Event>
uuid
- First parameter.evt
- Second parameter.public void onClose()
onClose
in interface PlatformEventFilterListener
public void initialize(GridKernalContext gridCtx)
initialize
in interface PlatformEventFilterListener
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017