public class ZookeeperClientFactoryImpl extends Object implements ZooKeeperClientFactory
ZooKeeperClientFactory.SessionType| Modifier and Type | Field and Description |
|---|---|
static Charset |
ENCODING_SCHEME |
| Constructor and Description |
|---|
ZookeeperClientFactoryImpl() |
| 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 static final Charset ENCODING_SCHEME
public CompletableFuture<ZooKeeper> create(String serverList, ZooKeeperClientFactory.SessionType sessionType, int zkSessionTimeoutMillis)
ZooKeeperClientFactorycreate in interface ZooKeeperClientFactoryCopyright © 2017–2021 Apache Software Foundation. All rights reserved.