public interface CollectionPropsWatcher
ZkStateReader.registerCollectionPropsWatcher(String, CollectionPropsWatcher)
and called whenever the collection properties change.| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
onStateChanged(Map<String,String> collectionProperties)
Called when the collection properties we are registered against has a change of state
Note that, due to the way Zookeeper watchers are implemented, a single call may be
the result of several state changes
|
boolean onStateChanged(Map<String,String> collectionProperties)
collectionProperties - the new collection propertiesCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.