List of usage examples for org.apache.zookeeper Watcher interface-usage
From source file com.bigdata.zookeeper.HierarchicalZNodeWatcher.java
/**
* This class accepts a dynamic set of watch criteria and pump events into a
* queue when any watch was triggered. Hooks are defined that you can use to
* identify new watch criteria based on {@link WatchedEvent}s. By default, this
* will extend a watch over the transitive closure of the children of some
* znode. However, you can limit the set of watch criteria using some hook
From source file com.brainlounge.zooterrain.zkclient.ZkStateObserver.java
/** */ public class ZkStateObserver implements Watcher { private String zkConnection; protected ZooKeeper zk; protected Set<ZkStateListener> listeners = new HashSet<ZkStateListener>();
From source file com.cc.zk.common.ConnectionManager.java
class ConnectionManager implements Watcher { protected static final Logger log = LoggerFactory.getLogger(ConnectionManager.class); private final String name; private CountDownLatch clientConnected; private KeeperState state;
From source file com.chinamobile.bcbsp.bspcontroller.BSPController.java
/**
* BSPController is responsible to control all the WorkerManagers and to manage
* bsp jobs.
* @author
* @version
*/
From source file com.chinamobile.bcbsp.client.BSPJobClient.java
/**
* BSPJobClient BSPJobClient is the primary interface for the user-job to
* interact with the BSPController. BSPJobClient provides facilities to submit
* jobs, track their progress, access component-staffs' reports/logs, get the
* BC-BSP cluster status information etc.
*/
From source file com.chinamobile.bcbsp.sync.GeneralSSController.java
/**
* GeneralSSController GeneralSSController for completing the general SuperStep
* synchronization control. This class is connected to JobInProgress.
*
* @author
* @version
From source file com.chinamobile.bcbsp.sync.StaffSSController.java
/**
* StaffSSController StaffSSController for completing the staff SuperStep
* synchronization control. This class is connected to BSPStaff.
*
* @author
* @version
From source file com.chinamobile.bcbsp.sync.SynchronizationServer.java
/** * SynchronizationServer This is an implementation for ZooKeeper. * @version 1.0 */ public class SynchronizationServer implements SynchronizationServerInterface, Watcher { /**The log of the class.*/
From source file com.chinamobile.bcbsp.sync.WorkerSSController.java
/**
* WorkerSSController This is an implementation for ZooKeeper.
* WorkerSSController for local synchronization and aggregation. This class is
* connected to WorkerAgentForJob.
* @author
* @version
From source file com.chinamobile.bcbsp.workermanager.WorkerManager.java
/**
* A WorkerManager is a process that manages staffs assigned by the
* BSPController. Each WorkerManager contacts the BSPController, and it takes
* assigned staffs and reports its status by means of periodical heart beats
* with BSPController. Each WorkerManager is designed to run with HDFS or other
* distributed storages. Basically, a WorkerManager and a data node should be