Class CompositeCheckpointMBean

java.lang.Object
org.apache.jackrabbit.oak.commons.jmx.AbstractCheckpointMBean
org.apache.jackrabbit.oak.composite.CompositeCheckpointMBean
All Implemented Interfaces:
CheckpointMBean

public class CompositeCheckpointMBean extends AbstractCheckpointMBean
  • Constructor Details

  • Method Details

    • createCheckpoint

      public String createCheckpoint(long lifetime)
      Description copied from interface: CheckpointMBean
      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

      public boolean releaseCheckpoint(String id)
      Description copied from interface: CheckpointMBean
      Release the checkpoint with the given id. See org.apache.jackrabbit.oak.spi.state.NodeStore#checkpoint
      Parameters:
      id -
      Returns:
      true on success, false otherwise.
    • getOldestCheckpointCreationTimestamp

      public long getOldestCheckpointCreationTimestamp()
      Specified by:
      getOldestCheckpointCreationTimestamp in interface CheckpointMBean
      Specified by:
      getOldestCheckpointCreationTimestamp in class AbstractCheckpointMBean
      Returns:
      creation timestamp of oldest checkpoint.