public class PlatformCacheEntryFilterImpl extends PlatformAbstractPredicate implements PlatformCacheEntryFilter
ctx, pred, ptr
Constructor and Description |
---|
PlatformCacheEntryFilterImpl()
Externalizable support. |
PlatformCacheEntryFilterImpl(Object pred,
long ptr,
PlatformContext ctx)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
apply(Object k,
Object v)
Predicate body.
|
void |
onClose()
Callback invoked when filter is no longer needed.
|
void |
setIgniteInstance(Ignite ignite) |
readExternal, writeExternal
public PlatformCacheEntryFilterImpl()
Externalizable
support.public PlatformCacheEntryFilterImpl(Object pred, long ptr, PlatformContext ctx)
pred
- .Net binary predicate.ptr
- Pointer to predicate in the native platform.ctx
- Kernal context.public boolean apply(Object k, Object v)
apply
in interface IgniteBiPredicate
k
- First parameter.v
- Second parameter.public void onClose()
onClose
in interface PlatformCacheEntryFilter
@IgniteInstanceResource public void setIgniteInstance(Ignite ignite)
ignite
- Ignite instance.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017