Interface CheckpointMBean
-
- All Known Implementing Classes:
AbstractCheckpointMBean,CompositeCheckpointMBean,DocumentCheckpointMBean,SegmentCheckpointMBean
@ProviderType public interface CheckpointMBeanMBean for managingorg.apache.jackrabbit.oak.spi.state.NodeStore#checkpoint checkpoints.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringcreateCheckpoint(long lifetime)Create a new checkpoint with the givenlifetime.DategetOldestCheckpointCreationDate()longgetOldestCheckpointCreationTimestamp()TabularDatalistCheckpoints()List the checkpoints that are currently present along with its id, creation time and expiry time.booleanreleaseCheckpoint(String id)Release the checkpoint with the givenid.
-
-
-
Field Detail
-
TYPE
static final String TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
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 givenlifetime. Seeorg.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 givenid. Seeorg.apache.jackrabbit.oak.spi.state.NodeStore#checkpoint- Parameters:
id-- Returns:
trueon success,falseotherwise.
-
-