public interface ZookeeperService
long id()
void addStateListener(StateListener listener)
void removeStateListener(StateListener listener)
List<String> addChildListener(String path, ChildListener listener)
void removeChildListener(String path, ChildListener listener)
void addDataListener(String path, DataListener listener)
void addDataListener(String path, DataListener listener, Executor executor)
void removeDataListener(String path, DataListener listener)
void create(String path, org.apache.zookeeper.CreateMode mode)
boolean checkExists(String path)
void delete(String path)
CompletableFuture<String> asyncGet(String path)
CompletableFuture<Void> asyncCreate(String path, org.apache.zookeeper.CreateMode mode)
CompletableFuture<Void> asyncCreate(String path, String content, org.apache.zookeeper.CreateMode mode)
CompletableFuture<Void> asyncUpdate(String path, String content)
CompletableFuture<List<String>> asyncGetChildren(String path)
CompletableFuture<Boolean> asyncCheckExists(String path)
CompletableFuture<Void> asyncDelete(String path)
com.swak.lock.Lock newLock(String path)
Copyright © 2020. All rights reserved.