public class PartitionsEvictManager extends GridCacheSharedManagerAdapter
cctx, diagnosticLog, log| Constructor and Description |
|---|
PartitionsEvictManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
awaitFinishAll()
Awaits all futures.
|
void |
evictPartitionAsync(CacheGroupContext grp,
GridDhtLocalPartition part,
org.apache.ignite.internal.processors.cache.distributed.dht.topology.PartitionsEvictManager.EvictReason reason)
Adds partition to eviction queue and starts eviction process if permit
available.
|
void |
onCacheGroupStopped(CacheGroupContext grp)
Stops eviction process for group.
|
protected void |
start0() |
protected void |
stop0(boolean cancel) |
context, isStopping, kernalStartInfo, kernalStopInfo, log, onDisconnected, onKernalStart, onKernalStart0, onKernalStop, onKernalStop0, onReconnected, printMemoryStats, start, startInfo, stop, stopInfo, toStringpublic void onCacheGroupStopped(CacheGroupContext grp)
grp - Group context.public void evictPartitionAsync(CacheGroupContext grp, GridDhtLocalPartition part, org.apache.ignite.internal.processors.cache.distributed.dht.topology.PartitionsEvictManager.EvictReason reason)
grp - Group context.part - Partition to evict.reason - Reason for eviction.protected void start0()
throws IgniteCheckedException
start0 in class GridCacheSharedManagerAdapterIgniteCheckedException - If failed.protected void stop0(boolean cancel)
stop0 in class GridCacheSharedManagerAdaptercancel - Cancel flag.public void awaitFinishAll()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020