Interface CRaCMXBean
- All Superinterfaces:
PlatformManagedObject
- All Known Implementing Classes:
CRaCMXBeanImpl
A management interface of the CRaC functionality in the Java virtual machine.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CRaCMXBean
Returns the implementation of CRaCMXBean.long
Returns the time when the JVM restore was initiated.long
Returns the time since the JVM restore was initiated.Methods declared in interface java.lang.management.PlatformManagedObject
getObjectName
-
Field Details
-
CRAC_MXBEAN_NAME
- See Also:
-
-
Method Details
-
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
Returns the implementation of CRaCMXBean.- Returns:
- the implementation of CRaCMXBean.
-