Class DbCheckpointState

java.lang.Object
io.camunda.zeebe.backup.processing.state.DbCheckpointState
All Implemented Interfaces:
CheckpointState

public final class DbCheckpointState extends Object implements CheckpointState
  • Constructor Details

  • Method Details

    • getCheckpointId

      public long getCheckpointId()
      Description copied from interface: CheckpointState
      Returns the id of the last created checkpoint
      Specified by:
      getCheckpointId in interface CheckpointState
      Returns:
      checkpointId
    • getCheckpointPosition

      public long getCheckpointPosition()
      Description copied from interface: CheckpointState
      Returns the position of the last created checkpoint
      Specified by:
      getCheckpointPosition in interface CheckpointState
      Returns:
      checkpointPosition
    • setCheckpointInfo

      public void setCheckpointInfo(long checkpointId, long checkpointPosition)
      Description copied from interface: CheckpointState
      Set checkpointId and checkpointPosition
      Specified by:
      setCheckpointInfo in interface CheckpointState
      Parameters:
      checkpointId - id of the checkpoint
      checkpointPosition - position of the checkpoint