Interface CheckpointMBean

All Known Implementing Classes:
AbstractCheckpointMBean, CompositeCheckpointMBean, DocumentCheckpointMBean, SegmentCheckpointMBean

@ProviderType public interface CheckpointMBean
MBean for managing org.apache.jackrabbit.oak.spi.state.NodeStore#checkpoint checkpoints.
  • Field Details

  • Method Details

    • listCheckpoints

      TabularData listCheckpoints()
      List the checkpoints that are currently present along with its id, creation time and expiry time.
      Returns:
    • getOldestCheckpointCreationTimestamp

      long getOldestCheckpointCreationTimestamp()
      Returns:
      creation timestamp of oldest checkpoint.
    • getOldestCheckpointCreationDate

      Date getOldestCheckpointCreationDate()
      Returns:
      creation date of oldest checkpoint.
    • createCheckpoint

      String createCheckpoint(long lifetime)
      Create a new checkpoint with the given lifetime. See org.apache.jackrabbit.oak.spi.state.NodeStore#checkpoint
      Parameters:
      lifetime -
      Returns:
      the id of the newly created checkpoint
    • releaseCheckpoint

      boolean releaseCheckpoint(String id)
      Release the checkpoint with the given id. See org.apache.jackrabbit.oak.spi.state.NodeStore#checkpoint
      Parameters:
      id -
      Returns:
      true on success, false otherwise.