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, updateServerList
private int throwExceptionInNumOperations
ZookeeperStub(String connectString, int sessionTimeout, org.apache.zookeeper.Watcher watcher) throws IOException
IOException
void setThrowExceptionInNumOperations(int throwExceptionInNumOperations)
private void checkThrowKeeperException() throws org.apache.zookeeper.KeeperException
org.apache.zookeeper.KeeperException
public org.apache.zookeeper.data.Stat setData(String path, byte[] data, int version) throws org.apache.zookeeper.KeeperException, InterruptedException
setData
in class org.apache.zookeeper.ZooKeeper
org.apache.zookeeper.KeeperException
InterruptedException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.