public class ZookeeperBkClientFactoryImpl extends Object implements ZooKeeperClientFactory
ZooKeeperClientFactory.SessionType| Constructor and Description |
|---|
ZookeeperBkClientFactoryImpl(org.apache.bookkeeper.common.util.OrderedExecutor executor) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<ZooKeeper> |
create(String serverList,
ZooKeeperClientFactory.SessionType sessionType,
int zkSessionTimeoutMillis)
Return a future yielding a connected ZooKeeper client
|
public ZookeeperBkClientFactoryImpl(org.apache.bookkeeper.common.util.OrderedExecutor executor)
public CompletableFuture<ZooKeeper> create(String serverList, ZooKeeperClientFactory.SessionType sessionType, int zkSessionTimeoutMillis)
ZooKeeperClientFactorycreate in interface ZooKeeperClientFactoryCopyright © 2017–2021 Apache Software Foundation. All rights reserved.