|
Bees v0.5.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--apps.health.NodeHealth | +--apps.health.SimpleNodeHealth
A SimpleNodeHealth object implements health polling using the kaffe.sensors wrapper for motherboard sensors. It will try and guess the acceptable limits of the sensors by looking for SensorFeatures with names ending in "_min" and "_max".
HealthExtraParameters
Fields inherited from class apps.health.NodeHealth |
state, STATE_ASSUMED_OK, STATE_FINE, STATE_MAX, STATE_MIN, STATE_NAMES, STATE_OFF, STATE_ON_FIRE, STATE_UNKNOWN, STATE_UNREACHABLE |
Constructor Summary | |
SimpleNodeHealth(java.lang.String name)
|
Method Summary | |
IntegerPermission |
poll(HealthSession hs)
Poll the node's health and update this object's state. |
java.lang.String |
toString()
|
Methods inherited from class apps.health.NodeHealth |
collected, getName, getState, getSuites, handleMessage, marshal, marshalledLength, removed, resolveSpecifier, setState, unmarshal |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SimpleNodeHealth(java.lang.String name)
name
- The name of the node this health information pertains to.Method Detail |
public IntegerPermission poll(HealthSession hs)
NodeHealth
poll
in class NodeHealth
NodeHealth.poll(HealthSession)
public java.lang.String toString()
toString
in class NodeHealth
Object.toString()
|
Bees v0.5.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |