com.englishtown.vertx.zookeeper.ZooKeeperClient Maven / Gradle / Ivy
package com.englishtown.vertx.zookeeper;
import org.apache.curator.framework.CuratorFramework;
import org.apache.curator.framework.api.CuratorEvent;
import org.apache.curator.framework.api.CuratorWatcher;
import io.vertx.core.AsyncResult;
import io.vertx.core.Handler;
/**
*/
public interface ZooKeeperClient {
CuratorFramework getCuratorFramework();
void execute(ZooKeeperOperation operation, Handler> handler);
boolean initialized();
void onReady(Handler> callback);
CuratorWatcher wrapWatcher(CuratorWatcher watcher);
void close();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy