@InterfaceAudience.Private public final class ReadOnlyZKClient extends Object implements Closeable
限定符和类型 | 字段和说明 |
---|---|
static String |
KEEPALIVE_MILLIS |
static String |
RECOVERY_RETRY |
static String |
RECOVERY_RETRY_INTERVAL_MILLIS |
构造器和说明 |
---|
ReadOnlyZKClient(org.apache.hadoop.conf.Configuration conf) |
限定符和类型 | 方法和说明 |
---|---|
void |
close() |
CompletableFuture<org.apache.zookeeper.data.Stat> |
exists(String path) |
CompletableFuture<byte[]> |
get(String path) |
String |
getConnectString() |
CompletableFuture<List<String>> |
list(String path) |
public static final String RECOVERY_RETRY_INTERVAL_MILLIS
public CompletableFuture<byte[]> get(String path)
public CompletableFuture<org.apache.zookeeper.data.Stat> exists(String path)
public CompletableFuture<List<String>> list(String path)
public void close()
close
在接口中 Closeable
close
在接口中 AutoCloseable
public String getConnectString()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.