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
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 © 2015 The Apache Software Foundation. All rights reserved.