public interface CacheEvictionManager extends GridCacheManager
| 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) |
onDisconnected, onKernalStart, onKernalStop, printMemoryStats, start, stopvoid touch(IgniteTxEntry txEntry, boolean loc)
txEntry - Transactional entry.loc - Local transaction flag.void touch(GridCacheEntryEx e)
e - Entry for eviction policy notification.boolean evict(@Nullable
@Nullable GridCacheEntryEx entry,
@Nullable
@Nullable GridCacheVersion obsoleteVer,
boolean explicit,
@Nullable
@Nullable CacheEntryPredicate[] filter)
throws IgniteCheckedException
entry - Entry to attempt to evict.obsoleteVer - Obsolete version.filter - Optional entry filter.explicit - True if evict is called explicitly, false if it's called
from eviction policy.True if entry was marked for eviction.IgniteCheckedException - In case of error.void batchEvict(Collection<?> keys, @Nullable @Nullable GridCacheVersion obsoleteVer) throws IgniteCheckedException
keys - Keys to evict.obsoleteVer - Obsolete version.IgniteCheckedException - In case of error.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023