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
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.oak.api.jmx.CheckpointMBean
TYPE
-
-
Constructor Summary
Constructors Constructor Description CompositeCheckpointMBean(CompositeNodeStore store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
createCheckpoint(long lifetime)
Create a new checkpoint with the givenlifetime
.long
getOldestCheckpointCreationTimestamp()
boolean
releaseCheckpoint(java.lang.String id)
Release the checkpoint with the givenid
.-
Methods inherited from class org.apache.jackrabbit.oak.commons.jmx.AbstractCheckpointMBean
getOldestCheckpointCreationDate, listCheckpoints
-
-
-
-
Constructor Detail
-
CompositeCheckpointMBean
public CompositeCheckpointMBean(CompositeNodeStore store)
-
-
Method Detail
-
createCheckpoint
public java.lang.String createCheckpoint(long lifetime)
Description copied from interface:CheckpointMBean
Create a new checkpoint with the givenlifetime
. Seeorg.apache.jackrabbit.oak.spi.state.NodeStore#checkpoint
- Returns:
- the id of the newly created checkpoint
-
releaseCheckpoint
public boolean releaseCheckpoint(java.lang.String id)
Description copied from interface:CheckpointMBean
Release the checkpoint with the givenid
. Seeorg.apache.jackrabbit.oak.spi.state.NodeStore#checkpoint
- Returns:
true
on success,false
otherwise.
-
getOldestCheckpointCreationTimestamp
public long getOldestCheckpointCreationTimestamp()
- Specified by:
getOldestCheckpointCreationTimestamp
in interfaceCheckpointMBean
- Specified by:
getOldestCheckpointCreationTimestamp
in classAbstractCheckpointMBean
- Returns:
- creation timestamp of oldest checkpoint.
-
-