List of usage examples for org.apache.zookeeper Watcher interface-usage
From source file com.navercorp.pinpoint.common.server.cluster.zookeeper.ZookeeperEventWatcher.java
/** * @author Taejin Koo */ public interface ZookeeperEventWatcher extends Watcher { boolean handleConnected();
From source file com.navercorp.pinpoint.web.cluster.zookeeper.ZookeeperClusterDataManager.java
/** * @author koo.taejin */ public class ZookeeperClusterDataManager implements ClusterDataManager, Watcher { static final long DEFAULT_RECONNECT_DELAY_WHEN_SESSION_EXPIRED = 30000;
From source file com.navercorp.pinpoint.web.cluster.zookeeper.ZookeeperClusterManager.java
/** * @author koo.taejin */ public class ZookeeperClusterManager implements ClusterManager, Watcher { static final long DEFAULT_RECONNECT_DELAY_WHEN_SESSION_EXPIRED = 30000;
From source file com.navercorp.pinpoint.web.cluster.zookeeper.ZookeeperEventWatcher.java
/** * @author minwoo.jung */ public interface ZookeeperEventWatcher extends Watcher { boolean isConnected(); }
From source file com.navercorp.redis.cluster.gateway.NodeWatcher.java
/** * @author seongminwoo * @author jaehong.kim */ public class NodeWatcher implements Watcher { private static final String ZK_CLUSTER_PATH = "/RC/NOTIFICATION/CLUSTER";
From source file com.navercorp.redis.cluster.ZookeeperConTest.java
/** * @author seongminwoo */ public class ZookeeperConTest implements Watcher { private final Logger log = LoggerFactory.getLogger(ZookeeperConTest.class); private ZooKeeper zk;
From source file com.nearinfinity.blur.manager.indexserver.BlurServerShutDown.java
public class BlurServerShutDown implements Watcher { private static final Log LOG = LogFactory.getLog(BlurServerShutDown.class); public interface BlurShutdown { void shutdown();
From source file com.nearinfinity.mele.MeleBase.java
/** @author Aaron McCurry (amccurry@nearinfinity.com) */ public class MeleBase implements Watcher, MeleConstants, Mele { private static final Log LOG = LogFactory.getLog(MeleBase.class); private ZooKeeper zk;
From source file com.nesscomputing.service.discovery.job.ZookeeperProcessingTask.java
/** * Driver task to maintain a zookeeper connection and execute work on it. Handles connection * loss and reconnection of the client. */ @edu.umd.cs.findbugs.annotations.SuppressWarnings("SF_SWITCH_NO_DEFAULT") public abstract class ZookeeperProcessingTask implements Watcher, Runnable {
From source file com.netflix.curator.ConnectionState.java
class ConnectionState implements Watcher, Closeable { private volatile long connectionStartMs = 0; private final Logger log = LoggerFactory.getLogger(getClass()); private final HandleHolder zooKeeper; private final AtomicBoolean isConnected = new AtomicBoolean(false);