public class BasicZooKeeperFactory extends Object implements ZooKeeperFactory
| Constructor and Description |
|---|
BasicZooKeeperFactory(String hosts,
int timeout) |
public BasicZooKeeperFactory(String hosts, int timeout)
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.