Package org.apache.solr.common.cloud
Interface CollectionPropsWatcher
- 
 public interface CollectionPropsWatcherCallback registered withZkStateReader.registerCollectionPropsWatcher(String, CollectionPropsWatcher)and called whenever the collection properties change.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanonStateChanged(Map<String,String> collectionProperties)Called when the collection properties we are registered against has a change of state
 
- 
- 
- 
Method Detail- 
onStateChangedboolean onStateChanged(Map<String,String> collectionProperties) Called when the collection properties we are registered against has a change of stateNote that, due to the way Zookeeper watchers are implemented, a single call may be the result of several state changes - Parameters:
- collectionProperties- the new collection properties
- Returns:
- true if the watcher should be removed
 
 
- 
 
-