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<Object,IgniteBiTuple<byte[],GridCacheVersion>> |
entries() |
long |
forAccess() |
long |
forCreate() |
long |
forUpdate() |
Map<UUID,Collection<IgniteBiTuple<byte[],GridCacheVersion>>> |
readers() |
boolean |
readyToFlush(int cnt) |
void |
reset()
Clears information about updated entries.
|
void |
ttlUpdated(Object key,
byte[] keyBytes,
GridCacheVersion ver,
Collection<UUID> rdrs)
Callback for ttl update on entry access.
|
long forCreate()
long forUpdate()
long forAccess()
void ttlUpdated(Object key, byte[] keyBytes, GridCacheVersion ver, @Nullable Collection<UUID> rdrs)
key - Entry key.keyBytes - Entry key bytes.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<Object,IgniteBiTuple<byte[],GridCacheVersion>> entries()
@Nullable Map<UUID,Collection<IgniteBiTuple<byte[],GridCacheVersion>>> readers()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 17 2015