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

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

public static class HBaseReplicationEndpoint.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
HBaseReplicationEndpoint.PeerRegionServerListener(HBaseReplicationEndpoint replicationPeer)
           
 
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
getWatcher, nodeCreated, nodeDataChanged, nodeDeleted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HBaseReplicationEndpoint.PeerRegionServerListener

public HBaseReplicationEndpoint.PeerRegionServerListener(HBaseReplicationEndpoint replicationPeer)
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 © 2015 The Apache Software Foundation. All rights reserved.