public static class ReplicationPeersZKImpl.PeerRegionServerListener extends ZooKeeperListener
watcher
Constructor and Description |
---|
ReplicationPeersZKImpl.PeerRegionServerListener(ReplicationPeer replicationPeer) |
ReplicationPeersZKImpl.PeerRegionServerListener(String regionServerListNode,
ZooKeeperWatcher zkw) |
Modifier and Type | Method and Description |
---|---|
void |
nodeChildrenChanged(String path)
Called when an existing node has a child node added or removed.
|
nodeCreated, nodeDataChanged, nodeDeleted
public ReplicationPeersZKImpl.PeerRegionServerListener(ReplicationPeer replicationPeer)
public ReplicationPeersZKImpl.PeerRegionServerListener(String regionServerListNode, ZooKeeperWatcher zkw)
public void nodeChildrenChanged(String path)
ZooKeeperListener
nodeChildrenChanged
in class ZooKeeperListener
path
- full path of the node whose children have changedCopyright © 2014 The Apache Software Foundation. All rights reserved.