public class CacheOffheapEvictionManager extends GridCacheManagerAdapter implements CacheEvictionManager
cctx, log, starting| Constructor and Description |
|---|
CacheOffheapEvictionManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
batchEvict(Collection<?> keys,
GridCacheVersion obsoleteVer) |
boolean |
evict(GridCacheEntryEx entry,
GridCacheVersion obsoleteVer,
boolean explicit,
CacheEntryPredicate[] filter) |
void |
touch(GridCacheEntryEx e,
AffinityTopologyVersion topVer) |
void |
touch(IgniteTxEntry txEntry,
boolean loc) |
context, kernalStartInfo, kernalStopInfo, log, onDisconnected, onKernalStart, onKernalStart0, onKernalStop, onKernalStop0, printMemoryStats, start, start0, startInfo, stop, stop0, stopInfo, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitonDisconnected, onKernalStart, onKernalStop, printMemoryStats, start, stoppublic void touch(IgniteTxEntry txEntry, boolean loc)
touch in interface CacheEvictionManagertxEntry - Transactional entry.loc - Local transaction flag.public void touch(GridCacheEntryEx e, AffinityTopologyVersion topVer)
touch in interface CacheEvictionManagere - Entry for eviction policy notification.topVer - Topology version.public boolean evict(@Nullable
GridCacheEntryEx entry,
@Nullable
GridCacheVersion obsoleteVer,
boolean explicit,
@Nullable
CacheEntryPredicate[] filter)
throws IgniteCheckedException
evict in interface CacheEvictionManagerentry - Entry to attempt to evict.obsoleteVer - Obsolete version.explicit - True if evict is called explicitly, false if it's called
from eviction policy.filter - Optional entry filter.True if entry was marked for eviction.IgniteCheckedException - In case of error.public void batchEvict(Collection<?> keys, @Nullable GridCacheVersion obsoleteVer)
batchEvict in interface CacheEvictionManagerkeys - Keys to evict.obsoleteVer - Obsolete version.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018