org.apache.hadoop.hbase.replication
Class ReplicationPeerZKImpl.TableCFsTracker

java.lang.Object
  extended by org.apache.hadoop.hbase.zookeeper.ZooKeeperListener
      extended by org.apache.hadoop.hbase.zookeeper.ZooKeeperNodeTracker
          extended by org.apache.hadoop.hbase.replication.ReplicationPeerZKImpl.TableCFsTracker
Enclosing class:
ReplicationPeerZKImpl

public class ReplicationPeerZKImpl.TableCFsTracker
extends ZooKeeperNodeTracker

Tracker for (table, cf-list) map of this peer


Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.zookeeper.ZooKeeperNodeTracker
abortable, node
 
Fields inherited from class org.apache.hadoop.hbase.zookeeper.ZooKeeperListener
watcher
 
Constructor Summary
ReplicationPeerZKImpl.TableCFsTracker(String tableCFsZNode, ZooKeeperWatcher watcher, Abortable abortable)
           
 
Method Summary
 void nodeCreated(String path)
          Called when a new node has been created.
 void nodeDataChanged(String path)
          Called when an existing node has changed data.
 
Methods inherited from class org.apache.hadoop.hbase.zookeeper.ZooKeeperNodeTracker
blockUntilAvailable, blockUntilAvailable, checkIfBaseNodeAvailable, getData, getNode, nodeDeleted, start, stop
 
Methods inherited from class org.apache.hadoop.hbase.zookeeper.ZooKeeperListener
getWatcher, nodeChildrenChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReplicationPeerZKImpl.TableCFsTracker

public ReplicationPeerZKImpl.TableCFsTracker(String tableCFsZNode,
                                             ZooKeeperWatcher watcher,
                                             Abortable abortable)
Method Detail

nodeCreated

public void nodeCreated(String path)
Description copied from class: ZooKeeperListener
Called when a new node has been created.

Overrides:
nodeCreated in class ZooKeeperNodeTracker
Parameters:
path - full path of the new node

nodeDataChanged

public void nodeDataChanged(String path)
Description copied from class: ZooKeeperListener
Called when an existing node has changed data.

Overrides:
nodeDataChanged in class ZooKeeperNodeTracker
Parameters:
path - full path of the updated node


Copyright © 2007-2015 The Apache Software Foundation. All Rights Reserved.