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)
                         throws java.io.IOException
        Tell checkpoint source that the checkpoint is completed. If compact is true, the implementation could compact to reduce size of data containing old checkpoints.
        Parameters:
        checkpoint - The checkpoint that has been completed
        compact - Flag to compact old checkpoints.
        Throws:
        java.io.IOException