All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.englishtown.vertx.zookeeper.ZooKeeperOperation Maven / Gradle / Ivy

There is a newer version: 2.1.1
Show newest version
package com.englishtown.vertx.zookeeper;

import org.apache.curator.framework.api.CuratorEvent;
import io.vertx.core.AsyncResult;
import io.vertx.core.Handler;

/**
 * An executable zookeeper operation
 */
public interface ZooKeeperOperation {

    /**
     * Execute the operation with the provided client and callback handler
     *
     * @param client  zookeeper client
     * @param handler callback handler
     * @throws Exception
     */
    void execute(ZooKeeperClient client, Handler> handler) throws Exception;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy