public class MockSolrZkClient extends SolrZkClient
numCloses, numOpens| Constructor and Description |
|---|
MockSolrZkClient() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
exists(String path,
boolean retryOnConnLoss)
Returns true if path exists
|
byte[] |
getData(String path,
org.apache.zookeeper.Watcher watcher,
org.apache.zookeeper.data.Stat stat,
boolean retryOnConnLoss)
Returns node's data
|
clean, close, create, create, delete, exists, getChildren, getConnectionManager, getSolrZooKeeper, getZkClientConnectionStrategy, getZkClientTimeout, isClosed, isConnected, makePath, makePath, makePath, makePath, makePath, makePath, makePath, makePath, makePath, makePath, prettyPrint, printLayout, printLayoutToStdOut, setData, setData, setDatapublic Boolean exists(String path, boolean retryOnConnLoss) throws org.apache.zookeeper.KeeperException, InterruptedException
SolrZkClientexists in class SolrZkClientorg.apache.zookeeper.KeeperExceptionInterruptedExceptionpublic byte[] getData(String path, org.apache.zookeeper.Watcher watcher, org.apache.zookeeper.data.Stat stat, boolean retryOnConnLoss) throws org.apache.zookeeper.KeeperException, InterruptedException
SolrZkClientgetData in class SolrZkClientorg.apache.zookeeper.KeeperExceptionInterruptedExceptionCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.