| 程序包 | 说明 |
|---|---|
| org.apache.solr.client.solrj.impl |
Concrete implementations of client API classes.
|
| org.apache.solr.common.cloud |
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
BaseCloudSolrClient.registerDocCollectionWatcher(String collection,
DocCollectionWatcher watcher)
Register a DocCollectionWatcher to be called when the cluster state for a collection changes.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ZkStateReader.registerDocCollectionWatcher(String collection,
DocCollectionWatcher stateWatcher)
Register a DocCollectionWatcher to be called when the state of a collection changes
The Watcher will automatically be removed when it's
onStateChanged returns true
|
void |
ZkStateReader.removeDocCollectionWatcher(String collection,
DocCollectionWatcher watcher)
Remove a watcher from a collection's watch list.
|
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.