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