public class GridCacheTtlManager extends GridCacheManagerAdapter
CacheConfiguration.isEagerTtl()
flag is set.cctx, log, starting
Constructor and Description |
---|
GridCacheTtlManager() |
Modifier and Type | Method and Description |
---|---|
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, toString
protected void start0() throws IgniteCheckedException
start0
in class GridCacheManagerAdapter
IgniteCheckedException
- If failed.protected void onKernalStop0(boolean cancel)
onKernalStop0
in class GridCacheManagerAdapter
cancel
- Cancel flag.public long pendingSize() throws IgniteCheckedException
IgniteCheckedException
- If failed.public void printMemoryStats()
printMemoryStats
in interface GridCacheManager
printMemoryStats
in class GridCacheManagerAdapter
public 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.0.0 Release Date : April 30 2017