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, close, create, create, create, create, create, create, createConnection, defaultWatchManager, delete, delete, exists, exists, exists, exists, getACL, getACL, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getChildWatches, getClientConfig, getConfig, getConfig, getConfig, getConfig, getData, getData, getData, getData, getDataWatches, getExistWatches, getSaslClient, getSessionId, getSessionPasswd, getSessionTimeout, getState, getTestable, internalReconfig, internalReconfig, internalReconfig, internalReconfig, multi, multi, multiInternal, multiInternal, reconfig, reconfig, reconfig, reconfig, register, removeAllWatches, removeAllWatches, removeWatches, removeWatches, setACL, setACL, setData, sync, testableLocalSocketAddress, testableRemoteSocketAddress, testableWaitForShutdown, toString, transaction, updateServerListprivate 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–2021 The Apache Software Foundation. All rights reserved.