Class SegmentCheckpointMBean
- java.lang.Object
-
- org.apache.jackrabbit.oak.commons.jmx.AbstractCheckpointMBean
-
- org.apache.jackrabbit.oak.segment.SegmentCheckpointMBean
-
- All Implemented Interfaces:
org.apache.jackrabbit.oak.api.jmx.CheckpointMBean
public class SegmentCheckpointMBean extends org.apache.jackrabbit.oak.commons.jmx.AbstractCheckpointMBean
CheckpointMBean
implementation for theSegmentNodeStore
.
-
-
Constructor Summary
Constructors Constructor Description SegmentCheckpointMBean(SegmentNodeStore store)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
collectCheckpoints(TabularDataSupport tab)
String
createCheckpoint(long lifetime)
long
getOldestCheckpointCreationTimestamp()
boolean
releaseCheckpoint(String checkpoint)
-
-
-
Constructor Detail
-
SegmentCheckpointMBean
public SegmentCheckpointMBean(SegmentNodeStore store)
-
-
Method Detail
-
collectCheckpoints
protected void collectCheckpoints(TabularDataSupport tab) throws OpenDataException
- Specified by:
collectCheckpoints
in classorg.apache.jackrabbit.oak.commons.jmx.AbstractCheckpointMBean
- Throws:
OpenDataException
-
getOldestCheckpointCreationTimestamp
public long getOldestCheckpointCreationTimestamp()
- Specified by:
getOldestCheckpointCreationTimestamp
in interfaceorg.apache.jackrabbit.oak.api.jmx.CheckpointMBean
- Specified by:
getOldestCheckpointCreationTimestamp
in classorg.apache.jackrabbit.oak.commons.jmx.AbstractCheckpointMBean
-
createCheckpoint
public String createCheckpoint(long lifetime)
-
releaseCheckpoint
public boolean releaseCheckpoint(String checkpoint)
-
-