static class TestRecoverableZooKeeper.ZookeeperStub extends org.apache.zookeeper.ZooKeeper
| Modifier and Type | Field and Description | 
|---|---|
private int | 
throwExceptionInNumOperations  | 
| Constructor and Description | 
|---|
ZookeeperStub(String connectString,
             int sessionTimeout,
             org.apache.zookeeper.Watcher watcher)  | 
| Modifier and Type | Method and Description | 
|---|---|
private void | 
checkThrowKeeperException()  | 
org.apache.zookeeper.data.Stat | 
setData(String path,
       byte[] data,
       int version)  | 
(package private) void | 
setThrowExceptionInNumOperations(int throwExceptionInNumOperations)  | 
addAuthInfo, close, create, create, delete, delete, exists, exists, exists, exists, getACL, getACL, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getData, getData, getData, getData, getSaslClient, getSessionId, getSessionPasswd, getSessionTimeout, getState, multi, multi, multiInternal, multiInternal, register, setACL, setACL, setData, sync, testableLocalSocketAddress, testableRemoteSocketAddress, testableWaitForShutdown, toString, transactionprivate int throwExceptionInNumOperations
ZookeeperStub(String connectString, int sessionTimeout, org.apache.zookeeper.Watcher watcher) throws IOException
IOExceptionvoid setThrowExceptionInNumOperations(int throwExceptionInNumOperations)
private void checkThrowKeeperException() throws org.apache.zookeeper.KeeperException
org.apache.zookeeper.KeeperExceptionpublic org.apache.zookeeper.data.Stat setData(String path, byte[] data, int version) throws org.apache.zookeeper.KeeperException, InterruptedException
setData in class org.apache.zookeeper.ZooKeeperorg.apache.zookeeper.KeeperExceptionInterruptedExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.