public static class ZKUtil.DefaultZooKeeperFactory extends Object implements ZKUtil.ZooKeeperFactory
构造器和说明 |
---|
ZKUtil.DefaultZooKeeperFactory() |
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 ZKUtil.ZooKeeperFactory
IOException
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.