Example usage for org.apache.zookeeper Watcher interface-usage

List of usage examples for org.apache.zookeeper Watcher interface-usage

Introduction

In this page you can find the example usage for org.apache.zookeeper Watcher interface-usage.

Usage

From source file org.trafodion.rest.zookeeper.ZkClient.java

public class ZkClient implements Watcher {
    private static final Log LOG = LogFactory.getLog(ZkClient.class.getName());
    private String path;
    private List<String> children;
    private static final Charset CHARSET = Charset.forName("UTF-8");
    private Configuration conf;

From source file org.tubez.shiro.zookeeper.cache.ZookeeperWatcher.java

/**
 * Zookeeper event watcher requirend by the Zookeeper Client class.
 *
 * @author anthonycorbacho
 *
 */

From source file org.usergrid.locking.zookeeper.ZooPut.java

/**
 * Util for uploading and updating files in ZooKeeper.
 *
 */
public class ZooPut implements Watcher {

From source file org.wltea.analyzer.dic.Dictionary.java

/**
 * @author kevin
 *
 */
public class Dictionary implements Watcher {

From source file org.wso2.andes.server.cluster.coordination.ZooKeeperAgent.java

public class ZooKeeperAgent implements Watcher {

    private ZooKeeper zk;

    private int sesstionTimeOut = 1200000;
    private static Log log = LogFactory.getLog(ZooKeeper.class);

From source file org.wso2.carbon.coordination.core.services.impl.ZKCoordinationService.java

/**
 * Coordination service implementation class.
 */
public class ZKCoordinationService implements CoordinationService, Watcher {

    public static final int MAX_ZK_MESSAGE_SIZE = 1024 * 800;

From source file org.wso2.carbon.coordination.core.sync.impl.ZKSyncPrimitive.java

/**
 * Primitive synchronization structure to be used by other high level synchronization scenarios.
 */
public abstract class ZKSyncPrimitive implements Watcher {

    private static final Log log = LogFactory.getLog(ZKSyncPrimitive.class);

From source file pt.citi.cs.crdt.benchmarks.tpcw.synchronization.SyncPrimitive.java

public class SyncPrimitive implements Watcher {

    static ZooKeeper zk = null;
    static Integer mutex;

    String root;

From source file pt.uminho.di.tests.zookeeper.ManagedZooKeeperClient.java

public class ManagedZooKeeperClient extends ManagedSimpleClient implements Watcher, ManagedDevice {

    static final Logger logger = Logger.getLogger(ManagedZooKeeperClient.class);

    ZooKeeper zooKeeper;

From source file pt.uminho.di.tests.zookeeper.ZooKeeperClient.java

public class ZooKeeperClient implements Watcher {

    static final Logger logger = Logger.getLogger(ZooKeeperClient.class);

    ZooKeeper zooKeeper;
    long[] lats;