|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface NodeListener
A listener that can be registered with the WatchdogService
to be notified of node status events. Invocations to the
methods of a NodeListener are made outside of a transaction.
The implementations for the methods of this interface should be idempotent because they may be invoked multiple times.
WatchdogService.addNodeListener(NodeListener)| Method Summary | |
|---|---|
void |
nodeHealthUpdate(Node node)
Notifies this listener that the specified node's health has
been updated. |
| Method Detail |
|---|
void nodeHealthUpdate(Node node)
node's health has
been updated. The node's health can be obtained by calling
getHealth on the node status information object.
Note that the node's health may not have changed since the
last update. On node startup a health update will be made to indicate the initial health of the node.
Once a node has failed, i.e. node.isAlive()
returns false, the node's health will not change.
node - node status information
|
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 | |||||||||