Watcher.Event, Watcher.WatcherType| Constructor and Description |
|---|
ZooKeeperManagedLedgerCache(ZooKeeperCache cache,
String path) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearTree() |
Set<String> |
get(String path) |
CompletableFuture<Set<String>> |
getAsync(String path) |
void |
process(WatchedEvent watchedEvent) |
public ZooKeeperManagedLedgerCache(ZooKeeperCache cache, String path)
public Set<String> get(String path) throws KeeperException, InterruptedException
KeeperExceptionInterruptedExceptionpublic CompletableFuture<Set<String>> getAsync(String path)
public void clearTree()
public void process(WatchedEvent watchedEvent)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.