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.ZooKeeperFactory
create
in interface ZKUtil.ZooKeeperFactory
IOException
Copyright © 2007–2021 The Apache Software Foundation. All rights reserved.