public class MockSolrZkClient extends SolrZkClient
ZK_ACL_PROVIDER_CLASS_NAME_VM_PARAM_NAME, ZK_CRED_PROVIDER_CLASS_NAME_VM_PARAM_NAME| 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
|
checkInterrupted, clean, close, containsChroot, create, createZkACLProvider, createZkCredentialsToAddAutomatically, delete, exists, getChildren, getConnectionManager, getSolrZooKeeper, getZkACLProvider, getZkClientConnectionStrategy, getZkClientTimeout, getZkServerAddress, isClosed, isConnected, makePath, makePath, makePath, makePath, makePath, makePath, makePath, makePath, makePath, makePath, multi, 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.