public interface CollectionStateWatcher
ZkStateReader.registerCollectionStateWatcher(String, CollectionStateWatcher)
 and called whenever the collection state changes.| Modifier and Type | Method and Description | 
|---|---|
| boolean | onStateChanged(Set<String> liveNodes,
              DocCollection collectionState)Called when the collection we are registered against has a change of state. | 
boolean onStateChanged(Set<String> liveNodes, DocCollection collectionState)
liveNodes - the set of live nodescollectionState - the new collection state (may be null if the collection has been
                        deleted)Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.