Interface CheckpointListener.Context
-
- All Known Implementing Classes:
CheckpointContextImpl
- Enclosing interface:
- CheckpointListener
public static interface CheckpointListener.ContextContext with information about current snapshots.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable Executorexecutor()IgniteInternalFuture<?>finishedStateFut()PartitionAllocationMappartitionStatMap()CheckpointProgressprogress()booleanwalFlush()Whether to flush WAL after a Checkpoint begin.voidwalFlush(boolean flush)
-
-
-
Method Detail
-
progress
CheckpointProgress progress()
- Returns:
- Checkpoint progress callback.
-
walFlush
void walFlush(boolean flush)
- Parameters:
flush- IfTruethen will flush WAL after a Checkpoint begin.
-
walFlush
boolean walFlush()
Whether to flush WAL after a Checkpoint begin.
-
finishedStateFut
IgniteInternalFuture<?> finishedStateFut()
- Returns:
- Checkpoint future which will be completed when checkpoint ends.
-
partitionStatMap
PartitionAllocationMap partitionStatMap()
- Returns:
- Partition allocation statistic map
-
executor
@Nullable @Nullable Executor executor()
- Returns:
- Context executor.
-
-