org.apache.hadoop.hbase.replication
Class ReplicationPeersZKImpl.PeerRegionServerListener

java.lang.Object
  extended by org.apache.hadoop.hbase.zookeeper.ZooKeeperListener
      extended by org.apache.hadoop.hbase.replication.ReplicationPeersZKImpl.PeerRegionServerListener
Enclosing class:
ReplicationPeersZKImpl

public static class ReplicationPeersZKImpl.PeerRegionServerListener
extends ZooKeeperListener

Tracks changes to the list of region servers in a peer's cluster.


Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.zookeeper.ZooKeeperListener
watcher
 
Constructor Summary
ReplicationPeersZKImpl.PeerRegionServerListener(ReplicationPeer replicationPeer)
           
ReplicationPeersZKImpl.PeerRegionServerListener(String regionServerListNode, ZooKeeperWatcher zkw)
           
 
Method Summary
 void nodeChildrenChanged(String path)
          Called when an existing node has a child node added or removed.
 
Methods inherited from class org.apache.hadoop.hbase.zookeeper.ZooKeeperListener
nodeCreated, nodeDataChanged, nodeDeleted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicationPeersZKImpl.PeerRegionServerListener

public ReplicationPeersZKImpl.PeerRegionServerListener(ReplicationPeer replicationPeer)

ReplicationPeersZKImpl.PeerRegionServerListener

public ReplicationPeersZKImpl.PeerRegionServerListener(String regionServerListNode,
                                                       ZooKeeperWatcher zkw)
Method Detail

nodeChildrenChanged

public void nodeChildrenChanged(String path)
Description copied from class: ZooKeeperListener
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 © 2013 The Apache Software Foundation. All Rights Reserved.