public interface IgniteCacheExpiryPolicy
ExpiryPolicy used to track information about cache entries
whose time to live was modified after access.| Modifier and Type | Method and Description |
|---|---|
Map<KeyCacheObject,GridCacheVersion> |
entries() |
long |
forAccess() |
long |
forCreate() |
long |
forUpdate() |
Map<UUID,Collection<IgniteBiTuple<KeyCacheObject,GridCacheVersion>>> |
readers() |
boolean |
readyToFlush(int cnt) |
void |
reset()
Clears information about updated entries.
|
void |
ttlUpdated(KeyCacheObject key,
GridCacheVersion ver,
Collection<UUID> rdrs)
Callback for ttl update on entry access.
|
long forCreate()
long forUpdate()
long forAccess()
void ttlUpdated(KeyCacheObject key, GridCacheVersion ver, @Nullable Collection<UUID> rdrs)
key - Entry key.ver - Entry version.rdrs - Entry readers.void reset()
boolean readyToFlush(int cnt)
cnt - Entries count.True if number of entries or readers is greater than given number.@Nullable Map<KeyCacheObject,GridCacheVersion> entries()
@Nullable Map<UUID,Collection<IgniteBiTuple<KeyCacheObject,GridCacheVersion>>> readers()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018