Interface CheckpointListener


public interface CheckpointListener
Can be used by InterPartitionCommand Sender/Receiver to get the latest checkpointId.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onNewCheckpointCreated(long checkpointId)
    Called when ever a new checkpoint is created.
  • Method Details

    • onNewCheckpointCreated

      void onNewCheckpointCreated(long checkpointId)
      Called when ever a new checkpoint is created.

      This will be called

    • When the processor is initialized with the latest checkpoint
    • When CHECKPOINT:CREATE record is processed and if it results in a new checkpoint.
    • When CHECKPOINT:CREATED record is replayed
    • If there is a valid checkpoint, when the listener is registered