public class CheckpointContextImpl extends Object implements CheckpointListener.Context
| Modifier and Type | Method and Description |
|---|---|
void |
awaitPendingTasksFinished()
Await all async tasks from executor was finished.
|
Executor |
executor() |
IgniteInternalFuture<?> |
finishedStateFut() |
boolean |
needToSnapshot(String cacheOrGrpName) |
boolean |
nextSnapshot() |
PartitionAllocationMap |
partitionStatMap() |
CheckpointProgress |
progress() |
public CheckpointProgress progress()
progress in interface CheckpointListener.Contextpublic boolean nextSnapshot()
nextSnapshot in interface CheckpointListener.ContextTrue if a snapshot have to be created after.public IgniteInternalFuture<?> finishedStateFut()
finishedStateFut in interface CheckpointListener.Contextpublic PartitionAllocationMap partitionStatMap()
partitionStatMap in interface CheckpointListener.Contextpublic boolean needToSnapshot(String cacheOrGrpName)
needToSnapshot in interface CheckpointListener.ContextcacheOrGrpName - Cache or group name.public Executor executor()
executor in interface CheckpointListener.Contextpublic void awaitPendingTasksFinished()
throws IgniteCheckedException
IgniteCheckedException - if fail.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021