Interface CheckpointState

All Known Implementing Classes:
DbCheckpointState

public interface CheckpointState
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final long
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Returns the id of the last created checkpoint
    long
    Returns the position of the last created checkpoint
    void
    setCheckpointInfo(long checkpointId, long checkpointPosition)
    Set checkpointId and checkpointPosition
  • Field Details

  • Method Details

    • getCheckpointId

      long getCheckpointId()
      Returns the id of the last created checkpoint
      Returns:
      checkpointId
    • getCheckpointPosition

      long getCheckpointPosition()
      Returns the position of the last created checkpoint
      Returns:
      checkpointPosition
    • setCheckpointInfo

      void setCheckpointInfo(long checkpointId, long checkpointPosition)
      Set checkpointId and checkpointPosition
      Parameters:
      checkpointId - id of the checkpoint
      checkpointPosition - position of the checkpoint