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 com.anteam.demo.zookeeper.Executor.java

/**
 * @author <a href="mailto:wsysisibeibei@gmail.com">sisibeibei</a>
 * @ClassName: Executor
 * @Package com.anteam.demo.zookeeper
 * @Description: Maintains the ZooKeeper connection. Executor contains the main
 * thread and contains the execution logic. It is responsible for

From source file com.api6.zkclient.watcher.ZKWatcher.java

/**
 * ??
 * @author: zhaojie/zh_jie@163.com.com 
 */
public class ZKWatcher implements Watcher {
    private static final Logger LOG = LoggerFactory.getLogger(ZKWatcher.class);

From source file com.asuraiv.coordination.Master.java

/**
 * @author Jupyo Hong
 */
public class Master extends Thread implements Watcher, AsyncCallback.ChildrenCallback {

    private static final Logger LOG = LoggerFactory.getLogger(Master.class);

From source file com.asuraiv.coordination.menu.MainMenu.java

/**
 * @author Jupyo Hong
 */
public class MainMenu implements Menu, Watcher {

    private Menu nextMenu;

From source file com.asuraiv.coordination.menu.RegistTaskMenu.java

/**
 * @author Jupyo Hong
 */
public class RegistTaskMenu implements Menu, Watcher {

    private Menu nextMenu;

From source file com.asuraiv.coordination.Worker.java

/**
 * @author Jupyo Hong
 */
public class Worker implements Runnable, Watcher, AsyncCallback.ChildrenCallback {

    private static final Logger LOG = LoggerFactory.getLogger(Worker.class);

From source file com.att.research.music.lockingservice.MusicLockingService.java

public class MusicLockingService implements Watcher {

    private final int SESSION_TIMEOUT = 180000;
    ZkStatelessLockService zkLockHandle = null;
    private CountDownLatch connectedSignal = new CountDownLatch(1);

From source file com.att.research.music.zklockingservice.MusicLockingService.java

public class MusicLockingService implements Watcher {

    private final int SESSION_TIMEOUT = 180000;
    ZkStatelessLockService zkLockHandle = null;
    private CountDownLatch connectedSignal = new CountDownLatch(1);

From source file com.bennavetta.aeneas.zookeeper.manager.ZooKeeperManager.java

/**
 * Manages ZooKeeper configuration.
 */
public class ZooKeeperManager implements Watcher, ServerRegistryWatcher.Listener {
    private static final Logger LOG = LoggerFactory.getLogger(ZooKeeperManager.class);
    private final int CONNECTION_TIMEOUT = 5000;

From source file com.bigdata.zookeeper.AbstractZNodeConditionWatcher.java

/**
 * An abstract implementation based on synchronized(this) and
 * {@link Object#notify()}.
 * 
 * @author <a href="mailto:thompsonbry@users.sourceforge.net">Bryan Thompson</a>
 * @version $Id$