-
- All Superinterfaces:
PlatformManagedObject
- All Known Implementing Classes:
CRaCMXBeanImpl
public interface CRaCMXBean extends PlatformManagedObject
A management interface of the CRaC functionality in the Java virtual machine.
-
-
Field Summary
Fields Modifier and Type Field Description static String
CRAC_MXBEAN_NAME
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static CRaCMXBean
getCRaCMXBean()
Returns the implementation of CRaCMXBean.long
getRestoreTime()
Returns the time when the JVM restore was initiated.long
getUptimeSinceRestore()
Returns the time since the JVM restore was initiated.-
Methods declared in interface java.lang.management.PlatformManagedObject
getObjectName
-
-
-
-
Field Detail
-
CRAC_MXBEAN_NAME
static final String CRAC_MXBEAN_NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getUptimeSinceRestore
long getUptimeSinceRestore()
Returns the time since the JVM restore was initiated. Returns -1 if restore has not occurred.- Returns:
- the number of in millseconds since restore, returns -1 if restore has not occurred.
-
getRestoreTime
long getRestoreTime()
Returns the time when the JVM restore was initiated. Returns -1 if restore has not occurred.- Returns:
- the number of milliseconds since epoch, returns -1 if restore has not occurred.
-
getCRaCMXBean
static CRaCMXBean getCRaCMXBean()
Returns the implementation of CRaCMXBean.- Returns:
- the implementation of CRaCMXBean.
-
-