Interface CRaCMXBean

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 Details

  • 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

      static CRaCMXBean getCRaCMXBean()
      Returns the implementation of CRaCMXBean.
      Returns:
      the implementation of CRaCMXBean.