|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.activecluster.group.GroupClusterListener
A ClusterListener which maintains a GroupModel implementation
| Constructor Summary | |
GroupClusterListener(GroupModel model)
|
|
| Method Summary | |
GroupModel |
getModel()
|
void |
onCoordinatorChanged(ClusterEvent event)
An election has occurred and a new coordinator has been selected |
void |
onNodeAdd(ClusterEvent event)
A new node has been added |
void |
onNodeFailed(ClusterEvent event)
A node has failed due to process or network failure |
void |
onNodeRemoved(ClusterEvent event)
A node has been removed (a clean shutdown) |
void |
onNodeUpdate(ClusterEvent event)
A node has updated its state |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public GroupClusterListener(GroupModel model)
| Method Detail |
public GroupModel getModel()
public void onNodeAdd(ClusterEvent event)
ClusterListener
onNodeAdd in interface ClusterListenerevent - public void onNodeUpdate(ClusterEvent event)
ClusterListener
onNodeUpdate in interface ClusterListenerevent - public void onNodeRemoved(ClusterEvent event)
ClusterListener
onNodeRemoved in interface ClusterListenerevent - public void onNodeFailed(ClusterEvent event)
ClusterListener
onNodeFailed in interface ClusterListenerevent - public void onCoordinatorChanged(ClusterEvent event)
ClusterListener
onCoordinatorChanged in interface ClusterListenerevent -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||