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 me.tfeng.play.plugins.AvroD2Plugin.java

/**
 * @author Thomas Feng (huining.feng@gmail.com)
 */
public class AvroD2Plugin extends AbstractPlugin implements Watcher {

    private static final ALogger LOG = Logger.of(AvroD2Plugin.class);

From source file me.tfeng.playmods.avro.d2.AvroD2Client.java

/**
 * @author Thomas Feng (huining.feng@gmail.com)
 */
public class AvroD2Client implements Watcher, InvocationHandler {

    private static final ALogger LOG = Logger.of(AvroD2Client.class);

From source file me.tfeng.playmods.avro.d2.AvroD2Component.java

/**
 * @author Thomas Feng (huining.feng@gmail.com)
 */
@Component("play-mods.avro-d2.component")
public class AvroD2Component implements ExtendedStartable, InitializingBean, Watcher, ZooKeeperProvider {

From source file me.tfeng.playmods.avro.d2.AvroD2Server.java

/**
 * @author Thomas Feng (huining.feng@gmail.com)
 */
public class AvroD2Server implements Watcher {

    private static final ALogger LOG = Logger.of(AvroD2Server.class);

From source file ml.shifu.guagua.BasicCoordinator.java

/**
 * {@link BasicCoordinator} is a basic implementation for both SyncWorkerCoordinator and SyncMasterCoordinator:
 * <ul>
 * <li>1. A {@link Watcher} to monitor zookeeper znodes.</li>
 * <li>2. Help functions to construct master znodes and worker znodes.</li>
 * <li>3. Basic functions to convert object to bytes or bytes to object.</li>

From source file mvm.rya.cloudbase.giraph.format.BspCase.java

/**
 * Duplicate copy from main giraph trunk. At least until there
 * is a maven test artifact for Giraph.
 *
 * Extended TestCase for making setting up Bsp testing.
 */

From source file net.freelabs.fidelio.core.zookeeper.ZkConnectionWatcher.java

/**
 *
 * Class that establishes a zookeeper connection.
 */
public class ZkConnectionWatcher implements Watcher {

From source file net.freelabs.maestro.core.zookeeper.ZkConnectionWatcher.java

/**
 *
 * Class that establishes a zookeeper connection.
 */
public class ZkConnectionWatcher implements Watcher {

From source file net.killa.kept.CountDownOnConnectWatcher.java

public class CountDownOnConnectWatcher implements Watcher {
    private CountDownLatch latch;

    public CountDownOnConnectWatcher() {
        // for junit
    }

From source file net.killa.kept.SynchronizingWatcher.java

/**
 * Keeps a {@link Synchronizable} synchronized with the {@link ZooKeeper}
 * cluster.
 */
class SynchronizingWatcher implements Watcher {
    private static final Logger LOG = Logger.getLogger(SynchronizingWatcher.class);