Top Description Methods
org.crac.management

public Interface CRaCMXBean

extends PlatformManagedObject
Known Direct Implementers
org.crac.management.NoImpl, org.crac.management.CRaCImpl
Imports
java.lang.management.ManagementFactory, .PlatformManagedObject, .RuntimeMXBean

Management interface for the CRaC functionality of the Java virtual machine.

Method Summary

Modifier and TypeMethod and Description
public static CRaCMXBean

Returns:

implementation of the MXBean.
getCRaCMXBean
()

Returns the implementation of the MXBean.

public long

Returns:

start time of the Java virtual machine in milliseconds.
getRestoreTime
()

Returns the time when the Java virtual machine restore was initiated.

public long

Returns:

uptime of the Java virtual machine in milliseconds.
getUptimeSinceRestore
()

Returns the time since the Java virtual machine restore was initiated.

Inherited from java.lang.management.PlatformManagedObject:
getObjectName

Method Detail

getCRaCMXBeanback to summary
public static CRaCMXBean getCRaCMXBean()

Returns the implementation of the MXBean.

Returns:CRaCMXBean

implementation of the MXBean.

getRestoreTimeback to summary
public long getRestoreTime()

Returns the time when the Java virtual machine restore was initiated. The value is the number of milliseconds since the start of the epoch. If the machine was not restored, returns -1.

Returns:long

start time of the Java virtual machine in milliseconds.

See Also
RuntimeMXBean#getUptime()
getUptimeSinceRestoreback to summary
public long getUptimeSinceRestore()

Returns the time since the Java virtual machine restore was initiated. If the machine was not restored, returns -1.

Returns:long

uptime of the Java virtual machine in milliseconds.

See Also
RuntimeMXBean#getStartTime()