public interface LiveNodesListener
ZkStateReader.registerLiveNodesListener(LiveNodesListener)
and called whenever the live nodes set changes.Modifier and Type | Method and Description |
---|---|
void |
onChange(SortedSet<String> oldLiveNodes,
SortedSet<String> newLiveNodes)
Called when a change in the live nodes set occurs.
|
void onChange(SortedSet<String> oldLiveNodes, SortedSet<String> newLiveNodes)
oldLiveNodes
- set of live nodes before the changenewLiveNodes
- set of live nodes after the changeCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.