Top Description Constructors Methods
org.crac.management

pack-priv Class NoImpl

extends Object
implements CRaCMXBean
Class Inheritance
All Implemented Interfaces
org.crac.management.CRaCMXBean, java.lang.management.PlatformManagedObject
Imports
javax.management.ObjectName

On a VM without CRaC implementation, the checkpoint and restoration are impossible. So a simple implementation reporting no restoration has happened is valid.

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public ObjectName
getObjectName()

Implements java.lang.management.PlatformManagedObject.getObjectName.

Returns an ObjectName instance representing the object name of this platform managed object.
public long
getRestoreTime()

Implements org.crac.management.CRaCMXBean.getRestoreTime.

Returns the time when the Java virtual machine restore was initiated.
public long
getUptimeSinceRestore()

Implements org.crac.management.CRaCMXBean.getUptimeSinceRestore.

Returns the time since the Java virtual machine restore was initiated.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

NoImplback to summary
pack-priv NoImpl()

Method Detail

getObjectNameback to summary
public ObjectName getObjectName()

Implements java.lang.management.PlatformManagedObject.getObjectName.

Doc from java.lang.management.PlatformManagedObject.getObjectName.

Returns an ObjectName instance representing the object name of this platform managed object.

Returns:ObjectName

an ObjectName instance representing the object name of this platform managed object.

Annotations
@Override
getRestoreTimeback to summary
public long getRestoreTime()

Implements org.crac.management.CRaCMXBean.getRestoreTime.

Doc from org.crac.management.CRaCMXBean.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.

Annotations
@Override
getUptimeSinceRestoreback to summary
public long getUptimeSinceRestore()

Implements org.crac.management.CRaCMXBean.getUptimeSinceRestore.

Doc from org.crac.management.CRaCMXBean.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.

Annotations
@Override