Interface CheckpointSource

  • All Known Implementing Classes:
    CheckpointSourceList, Journal

    public interface CheckpointSource
    Interface to communicate checkpoint progress.
    • Method Detail

      • checkpointComplete

        void checkpointComplete​(CheckpointSource.Checkpoint checkpoint,
                                boolean compact)
        Tell checkpoint source that the checkpoint is completed. If compact is true, the implementation could compact to reduce size of data containing old checkpoints.
        checkpoint - The checkpoint that has been completed
        compact - Flag to compact old checkpoints.