|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Node
An abstraction for node information, used in conjunction
with the WatchdogService and NodeListeners.
| Nested Class Summary | |
|---|---|
static class |
Node.Health
Health of a node. |
| Method Summary | |
|---|---|
Node.Health |
getHealth()
Returns the health of the node. |
String |
getHostName()
Returns this node's host name. |
long |
getId()
Returns the node ID, which is always non-negative. |
boolean |
isAlive()
Returns true if the node is known to be alive, and
false if the node is thought to have failed or is
unknown. |
| Method Detail |
|---|
long getId()
String getHostName()
boolean isAlive()
true if the node is known to be alive, and
false if the node is thought to have failed or is
unknown.
true if the node is alive, and false
otherwiseNode.Health getHealth()
|
RedDwarf, Version 0.10.1 2010-03-14 10:56:12 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||