public class CacheOffheapEvictionManager extends GridCacheManagerAdapter implements CacheEvictionManager
cctx, log, starting| Constructor and Description |
|---|
CacheOffheapEvictionManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
batchEvict(Collection<?> keys,
@Nullable GridCacheVersion obsoleteVer) |
boolean |
evict(@Nullable GridCacheEntryEx entry,
@Nullable GridCacheVersion obsoleteVer,
boolean explicit,
@Nullable CacheEntryPredicate[] filter) |
void |
touch(GridCacheEntryEx e) |
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)
touch in interface CacheEvictionManagere - Entry for eviction policy notification.public boolean evict(@Nullable
@Nullable GridCacheEntryEx entry,
@Nullable
@Nullable GridCacheVersion obsoleteVer,
boolean explicit,
@Nullable
@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 @Nullable GridCacheVersion obsoleteVer)
batchEvict in interface CacheEvictionManagerkeys - Keys to evict.obsoleteVer - Obsolete version.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021