public interface CacheEvictionManager extends GridCacheManager
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) |
onDisconnected, onKernalStart, onKernalStop, printMemoryStats, start, stop
void touch(IgniteTxEntry txEntry, boolean loc)
txEntry
- Transactional entry.loc
- Local transaction flag.void touch(GridCacheEntryEx e, AffinityTopologyVersion topVer)
e
- Entry for eviction policy notification.topVer
- Topology version.boolean evict(@Nullable GridCacheEntryEx entry, @Nullable GridCacheVersion obsoleteVer, boolean explicit, @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 GridCacheVersion obsoleteVer) throws IgniteCheckedException
keys
- Keys to evict.obsoleteVer
- Obsolete version.IgniteCheckedException
- In case of error.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017