com.caucho.env.health
Class HealthCheckAdmin

java.lang.Object
  extended by com.caucho.management.server.AbstractManagedObject
      extended by com.caucho.env.health.HealthCheckAdmin
All Implemented Interfaces:
HealthCheckMXBean, ManagedObjectMXBean

public class HealthCheckAdmin
extends AbstractManagedObject
implements HealthCheckMXBean


Method Summary
 java.lang.String getMessage()
          Returns the last health check message.
 java.lang.String getName()
          The JMX name property of the mbean.
 java.lang.String getStatus()
          Returns the last health check status.
 int getStatusOrdinal()
          Returns the last status value as an integer for graphing.
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.management.server.AbstractManagedObject
addObjectNameProperties, getObjectName, getType, registerSelf, unregisterSelf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean
getObjectName, getType
 

Method Detail

getStatus

public java.lang.String getStatus()
Description copied from interface: HealthCheckMXBean
Returns the last health check status.

Specified by:
getStatus in interface HealthCheckMXBean

getStatusOrdinal

public int getStatusOrdinal()
Description copied from interface: HealthCheckMXBean
Returns the last status value as an integer for graphing.

Specified by:
getStatusOrdinal in interface HealthCheckMXBean

getMessage

public java.lang.String getMessage()
Description copied from interface: HealthCheckMXBean
Returns the last health check message.

Specified by:
getMessage in interface HealthCheckMXBean

getName

public java.lang.String getName()
Description copied from class: AbstractManagedObject
The JMX name property of the mbean.

Specified by:
getName in interface ManagedObjectMXBean
Specified by:
getName in class AbstractManagedObject

toString

public java.lang.String toString()
Overrides:
toString in class AbstractManagedObject