| 程序包 | 说明 |
|---|---|
| org.apache.solr.common.cloud |
Common Solr Cloud and ZooKeeper related classes reused on both clients & server.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ZkStateReader.waitForLiveNodes(long wait,
TimeUnit unit,
LiveNodesPredicate predicate)
Block until a LiveNodesStatePredicate returns true, or the wait times out
Note that the predicate may be called again even after it has returned true, so
implementors should avoid changing state within the predicate call itself.
|
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.