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.StringcreateCheckpoint(long lifetime)Create a new checkpoint with the givenlifetime.longgetOldestCheckpointCreationTimestamp()booleanreleaseCheckpoint(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:CheckpointMBeanCreate 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:CheckpointMBeanRelease the checkpoint with the givenid. Seeorg.apache.jackrabbit.oak.spi.state.NodeStore#checkpoint- Returns:
 trueon success,falseotherwise.
 
- 
getOldestCheckpointCreationTimestamp
public long getOldestCheckpointCreationTimestamp()
- Specified by:
 getOldestCheckpointCreationTimestampin interfaceCheckpointMBean- Specified by:
 getOldestCheckpointCreationTimestampin classAbstractCheckpointMBean- Returns:
 - creation timestamp of oldest checkpoint.
 
 
 - 
 
 -