|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Cluster of Nodes.
| Method Summary | |
void |
addListener(ClusterEventListener aListener)
Adds a listener to this cluster. |
void |
addMember(NodeInfo aNode)
Adds a Node to this cluster. |
ClusterInfo |
getClusterInfo()
Gets the meta-data of this cluster. |
Set |
getMembers()
Gets the Nodes of this cluster. |
void |
removeListener(ClusterEventListener aListener)
Removes the specified listener. |
void |
removeMember(NodeInfo aNode)
Removes a Node from this cluster. |
| Method Detail |
public ClusterInfo getClusterInfo()
public Set getMembers()
public void addMember(NodeInfo aNode)
throws NodeException
aNode - Node to be added to this cluster.
NodeException - Indicates that the specified node can not be
added.
public void removeMember(NodeInfo aNode)
throws NodeException
addMember for more details on the operations of this method.
aNode -
NodeException - Indicates that the specified node can not be
removed.public void addListener(ClusterEventListener aListener)
aListener - Listener to be registered.public void removeListener(ClusterEventListener aListener)
aListener - Listener to be removed.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||