public class GridCacheTtlManager extends GridCacheManagerAdapter
CacheConfiguration.isEagerTtl() flag is set.cctx, log, starting| Constructor and Description |
|---|
GridCacheTtlManager() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
eagerTtlEnabled() |
void |
expire()
Expires entries by TTL.
|
boolean |
expire(int amount)
Processes specified amount of expired entries.
|
protected void |
onKernalStop0(boolean cancel) |
long |
pendingSize() |
void |
printMemoryStats()
Prints memory statistics (sizes of internal data structures, etc.).
|
protected void |
start0() |
context, kernalStartInfo, kernalStopInfo, log, onDisconnected, onKernalStart, onKernalStart0, onKernalStop, start, startInfo, stop, stop0, stopInfo, toStringprotected void start0()
throws IgniteCheckedException
start0 in class GridCacheManagerAdapterIgniteCheckedException - If failed.public boolean eagerTtlEnabled()
True if eager ttl is enabled for cache.protected void onKernalStop0(boolean cancel)
onKernalStop0 in class GridCacheManagerAdaptercancel - Cancel flag.public long pendingSize()
throws IgniteCheckedException
IgniteCheckedException - If failed.public void printMemoryStats()
printMemoryStats in interface GridCacheManagerprintMemoryStats in class GridCacheManagerAdapterpublic void expire()
public boolean expire(int amount)
amount - Limit of processed entries by single call, -1 for no limit.True if unprocessed expired entries remains.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018