public class PartitionsEvictManager extends GridCacheSharedManagerAdapter
| Modifier and Type | Field and Description |
|---|---|
static String |
SHOW_EVICTION_PROGRESS_FREQ
Eviction progress frequency property name.
|
cctx, diagnosticLog, log| Constructor and Description |
|---|
PartitionsEvictManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanupRemovedGroup(int grpId)
Cleans up group eviction context when it's safe.
|
IgniteInternalFuture<?> |
evictPartitionAsync(CacheGroupContext grp,
GridDhtLocalPartition part,
GridFutureAdapter<?> finishFut)
Adds partition to eviction queue and starts eviction process if permit
available.
|
void |
onCacheGroupStarted(CacheGroupContext grp)
Callback on cache group start.
|
void |
onCacheGroupStopped(CacheGroupContext grp)
Stops eviction process for group.
|
protected void |
onKernalStop0(boolean cancel) |
protected void |
start0() |
int |
total() |
context, isStopping, kernalStartInfo, kernalStopInfo, log, onDisconnected, onKernalStart, onKernalStart0, onKernalStop, onReconnected, printMemoryStats, start, startInfo, stop, stop0, stopInfo, toString@SystemProperty(value="Eviction progress frequency in milliseconds", type=java.lang.Long.class, defaults="120000") public static final String SHOW_EVICTION_PROGRESS_FREQ
public void onCacheGroupStarted(CacheGroupContext grp)
grp - Group.public void onCacheGroupStopped(CacheGroupContext grp)
grp - Group context.public IgniteInternalFuture<?> evictPartitionAsync(CacheGroupContext grp, GridDhtLocalPartition part, GridFutureAdapter<?> finishFut)
grp - Group context.part - Partition to evict.finishFut - Clearing finish future.protected void start0()
throws IgniteCheckedException
start0 in class GridCacheSharedManagerAdapterIgniteCheckedException - If failed.protected void onKernalStop0(boolean cancel)
onKernalStop0 in class GridCacheSharedManagerAdaptercancel - Cancel flag.public void cleanupRemovedGroup(int grpId)
grpId - Group id.public int total()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021