public interface ZooKeeperClientFactory
| Modifier and Type | Interface and Description |
|---|---|
static class |
ZooKeeperClientFactory.SessionType |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<org.apache.zookeeper.ZooKeeper> |
create(String serverList,
ZooKeeperClientFactory.SessionType sessionType,
int zkSessionTimeoutMillis)
Return a future yielding a connected ZooKeeper client
|
CompletableFuture<org.apache.zookeeper.ZooKeeper> create(String serverList, ZooKeeperClientFactory.SessionType sessionType, int zkSessionTimeoutMillis)
conf - Copyright © 2017–2019 Apache Software Foundation. All rights reserved.