public class RecoveringZooKeeperFactory extends Object implements ZooKeeperFactory
| Constructor and Description |
|---|
RecoveringZooKeeperFactory(ZooKeeperFactory zooKeeperFactory,
int maxRetries,
int retryIntervalMillis) |
public RecoveringZooKeeperFactory(ZooKeeperFactory zooKeeperFactory, int maxRetries, int retryIntervalMillis)
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.