org.apache.hadoop.hbase.replication
Class ReplicationTrackerZKImpl.PeersWatcher
java.lang.Object
org.apache.hadoop.hbase.zookeeper.ZooKeeperListener
org.apache.hadoop.hbase.replication.ReplicationTrackerZKImpl.PeersWatcher
- Enclosing class:
- ReplicationTrackerZKImpl
public class ReplicationTrackerZKImpl.PeersWatcher
- extends ZooKeeperListener
Watcher used to follow the creation and deletion of peer clusters.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReplicationTrackerZKImpl.PeersWatcher
public ReplicationTrackerZKImpl.PeersWatcher(ZooKeeperWatcher watcher)
- Construct a ZooKeeper event listener.
nodeDeleted
public void nodeDeleted(String path)
- Called when a node has been deleted
- Overrides:
nodeDeleted
in class ZooKeeperListener
- Parameters:
path
- full path of the deleted node
nodeChildrenChanged
public void nodeChildrenChanged(String path)
- Called when an existing node has a child node added or removed.
- Overrides:
nodeChildrenChanged
in class ZooKeeperListener
- Parameters:
path
- full path of the node whose children have changed
Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.