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
|Modifier and Type||Method and Description|
Triggered when a node leaves the cluster.
Triggered when a node joins the cluster.
void nodeUP(TopologyMember member, boolean last)
last- if the whole cluster topology is being transmitted (after adding the listener to the cluster connection) this parameter will be
truefor the last topology member.
void nodeDown(long eventUID, String nodeID)
nodeID- the id of the node leaving the cluster
Copyright © 2021 JBoss by Red Hat. All rights reserved.