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 forCheckpointMBeanimplementations. 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.DategetOldestCheckpointCreationDate()abstract longgetOldestCheckpointCreationTimestamp()javax.management.openmbean.TabularDatalistCheckpoints()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:CheckpointMBeanList the checkpoints that are currently present along with its id, creation time and expiry time.- Specified by:
listCheckpointsin interfaceCheckpointMBean- Returns:
-
getOldestCheckpointCreationTimestamp
public abstract long getOldestCheckpointCreationTimestamp()
- Specified by:
getOldestCheckpointCreationTimestampin interfaceCheckpointMBean- Returns:
- creation timestamp of oldest checkpoint.
-
getOldestCheckpointCreationDate
public java.util.Date getOldestCheckpointCreationDate()
- Specified by:
getOldestCheckpointCreationDatein interfaceCheckpointMBean- Returns:
- creation date of oldest checkpoint.
-
-