public interface ClusterTopologyListener
Used to get notification of topology events. After adding a listener to the cluster connection,
the listener receives nodeUP(TopologyMember, boolean)
for all the current topology
members.
Modifier and Type | Method and Description |
---|---|
void |
nodeDown(long eventUID,
String nodeID)
Triggered when a node leaves the cluster.
|
void |
nodeUP(TopologyMember member,
boolean last)
Triggered when a node joins the cluster.
|
void nodeUP(TopologyMember member, boolean last)
member
- last
- if the whole cluster topology is being transmitted (after adding the listener to
the cluster connection) this parameter will be true
for the last topology
member.void nodeDown(long eventUID, String nodeID)
eventUID
- nodeID
- the id of the node leaving the clusterCopyright © 2016 JBoss by Red Hat. All rights reserved.