Interface CheckpointMBean
@ProviderType
public interface CheckpointMBean
MBean for managing
org.apache.jackrabbit.oak.spi.state.NodeStore#checkpoint checkpoints.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreateCheckpoint(long lifetime) Create a new checkpoint with the givenlifetime.longList the checkpoints that are currently present along with its id, creation time and expiry time.booleanRelease the checkpoint with the givenid.
-
Field Details
-
TYPE
- See Also:
-
-
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
Create a new checkpoint with the givenlifetime. Seeorg.apache.jackrabbit.oak.spi.state.NodeStore#checkpoint- Parameters:
lifetime-- Returns:
- the id of the newly created checkpoint
-
releaseCheckpoint
Release the checkpoint with the givenid. Seeorg.apache.jackrabbit.oak.spi.state.NodeStore#checkpoint- Parameters:
id-- Returns:
trueon success,falseotherwise.
-