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 |
cacheContext(GridCacheContext cctx)
Sets the cache context.
|
void |
onClose()
Callback invoked when filter is no longer needed.
|
void |
setIgniteInstance(Ignite ignite) |
readExternal, writeExternalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandpublic 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 IgniteBiPredicatek - First parameter.v - Second parameter.public void onClose()
onClose in interface PlatformCacheEntryFilterpublic void cacheContext(GridCacheContext cctx)
cacheContext in interface PlatformCacheEntryFiltercctx - Cache context.@IgniteInstanceResource public void setIgniteInstance(Ignite ignite)
ignite - Ignite instance.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020