Class AbstractCheckpointMBean
- java.lang.Object
-
- org.apache.jackrabbit.oak.commons.jmx.AbstractCheckpointMBean
-
- All Implemented Interfaces:
CheckpointMBean
- Direct Known Subclasses:
CompositeCheckpointMBean
public abstract class AbstractCheckpointMBean extends java.lang.Object implements CheckpointMBean
Abstract base class forCheckpointMBean
implementations. This class provides the basic functionality for converting checkpoints into tabular data.
-
-
Field Summary
-
Fields inherited from interface org.apache.jackrabbit.oak.api.jmx.CheckpointMBean
TYPE
-
-
Constructor Summary
Constructors Constructor Description AbstractCheckpointMBean()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description java.util.Date
getOldestCheckpointCreationDate()
abstract long
getOldestCheckpointCreationTimestamp()
javax.management.openmbean.TabularData
listCheckpoints()
List the checkpoints that are currently present along with its id, creation time and expiry time.-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.jackrabbit.oak.api.jmx.CheckpointMBean
createCheckpoint, releaseCheckpoint
-
-
-
-
Method Detail
-
listCheckpoints
public javax.management.openmbean.TabularData listCheckpoints()
Description copied from interface:CheckpointMBean
List the checkpoints that are currently present along with its id, creation time and expiry time.- Specified by:
listCheckpoints
in interfaceCheckpointMBean
- Returns:
-
getOldestCheckpointCreationTimestamp
public abstract long getOldestCheckpointCreationTimestamp()
- Specified by:
getOldestCheckpointCreationTimestamp
in interfaceCheckpointMBean
- Returns:
- creation timestamp of oldest checkpoint.
-
getOldestCheckpointCreationDate
public java.util.Date getOldestCheckpointCreationDate()
- Specified by:
getOldestCheckpointCreationDate
in interfaceCheckpointMBean
- Returns:
- creation date of oldest checkpoint.
-
-