Interface CheckpointListener
-
- All Known Implementing Classes:
CacheGroupPageScanner,DurableBackgroundTasksProcessor,GridCacheOffheapManager,IndexBuildStatusStorage,MetaStorage
public interface CheckpointListenerListener which methods will be called in a corresponded checkpoint life cycle period.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceCheckpointListener.ContextContext with information about current snapshots.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidafterCheckpointEnd(CheckpointListener.Context ctx)Do some actions after checkpoint end.voidbeforeCheckpointBegin(CheckpointListener.Context ctx)Do some actions before checkpoint write lock.voidonCheckpointBegin(CheckpointListener.Context ctx)voidonMarkCheckpointBegin(CheckpointListener.Context ctx)
-
-
-
Method Detail
-
onMarkCheckpointBegin
void onMarkCheckpointBegin(CheckpointListener.Context ctx) throws IgniteCheckedException
- Throws:
IgniteCheckedException- If failed.
-
onCheckpointBegin
void onCheckpointBegin(CheckpointListener.Context ctx) throws IgniteCheckedException
- Throws:
IgniteCheckedException- If failed.
-
beforeCheckpointBegin
void beforeCheckpointBegin(CheckpointListener.Context ctx) throws IgniteCheckedException
Do some actions before checkpoint write lock.- Throws:
IgniteCheckedException- If failed.
-
afterCheckpointEnd
default void afterCheckpointEnd(CheckpointListener.Context ctx) throws IgniteCheckedException
Do some actions after checkpoint end.- Throws:
IgniteCheckedException- If failed.
-
-