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 Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncreateCheckpoint
(long lifetime) Create a new checkpoint with the givenlifetime
.long
List the checkpoints that are currently present along with its id, creation time and expiry time.boolean
Release 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:
true
on success,false
otherwise.
-