public static class ZKUtil.DefaultZooKeeperFactory extends Object implements ZKUtil.ZooKeeperFactory
| Constructor and Description |
|---|
ZKUtil.DefaultZooKeeperFactory() |
| Modifier and Type | Method and Description |
|---|---|
RecoverableZooKeeper |
create(String quorumServers,
int sessionTimeout,
org.apache.zookeeper.Watcher watcher,
int maxRetries,
int retryIntervalMillis,
int maxSleepTime,
String identifier,
int authFailedRetries,
int authFailedPause,
int multiMaxSize)
Creates a new instance of a RecoverableZooKeeper.
|
public RecoverableZooKeeper create(String quorumServers, int sessionTimeout, org.apache.zookeeper.Watcher watcher, int maxRetries, int retryIntervalMillis, int maxSleepTime, String identifier, int authFailedRetries, int authFailedPause, int multiMaxSize) throws IOException
ZKUtil.ZooKeeperFactorycreate in interface ZKUtil.ZooKeeperFactoryIOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.