java.lang.Object
jdk.crac.management.internal.CRaCMXBeanImpl
- All Implemented Interfaces:
- PlatformManagedObject,- CRaCMXBean
An implementation of the CRaCMXBean interface.
- 
Field SummaryFields declared in interface jdk.crac.management.CRaCMXBeanCRAC_MXBEAN_NAME
- 
Method SummaryModifier and TypeMethodDescriptionstatic CRaCMXBeanReturns an instance ofCRaCMXBeanImpl.Returns anObjectNameinstance representing the object name of this platform managed object.longReturns the time when the JVM restore was initiated.longReturns the time since the JVM restore was initiated.
- 
Method Details- 
getInstanceReturns an instance ofCRaCMXBeanImpl.- Returns:
- an instance of CRaCMXBeanImpl.
 
- 
getUptimeSinceRestorepublic long getUptimeSinceRestore()Returns the time since the JVM restore was initiated. Returns -1 if restore has not occurred.- Specified by:
- getUptimeSinceRestorein interface- CRaCMXBean
- Returns:
- the number of in millseconds since restore, returns -1 if restore has not occurred.
 
- 
getRestoreTimepublic long getRestoreTime()Returns the time when the JVM restore was initiated. Returns -1 if restore has not occurred.- Specified by:
- getRestoreTimein interface- CRaCMXBean
- Returns:
- the number of milliseconds since epoch, returns -1 if restore has not occurred.
 
- 
getObjectNameReturns anObjectNameinstance representing the object name of this platform managed object.- Specified by:
- getObjectNamein interface- PlatformManagedObject
- Returns:
- an ObjectNameinstance representing the object name of this platform managed object.
 
 
-