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, setData
public Boolean exists(String path, boolean retryOnConnLoss) throws org.apache.zookeeper.KeeperException, InterruptedException
SolrZkClient
exists
in class SolrZkClient
org.apache.zookeeper.KeeperException
InterruptedException
public byte[] getData(String path, org.apache.zookeeper.Watcher watcher, org.apache.zookeeper.data.Stat stat, boolean retryOnConnLoss) throws org.apache.zookeeper.KeeperException, InterruptedException
SolrZkClient
getData
in class SolrZkClient
org.apache.zookeeper.KeeperException
InterruptedException
Copyright © 2000–2015 The Apache Software Foundation. All rights reserved.