public class DefaultZooKeeperFactory extends Object implements ZooKeeperFactory
| Constructor and Description |
|---|
DefaultZooKeeperFactory(String zkHostStr,
int timeoutMillis) |
DefaultZooKeeperFactory(String zkHostStr,
int timeoutMillis,
int maxRetries,
int retryIntervalMillis) |
public DefaultZooKeeperFactory(String zkHostStr, int timeoutMillis, int maxRetries, int retryIntervalMillis)
public DefaultZooKeeperFactory(String zkHostStr, int timeoutMillis)
public ZooKeeperIface create(org.apache.zookeeper.Watcher watcher) throws IOException
ZooKeeperFactorycreate in interface ZooKeeperFactorywatcher - - Watcher to monitor changes in connection statusIOExceptionCopyright © 2012-2014 Facebook, Inc.. All Rights Reserved.