public class ReplicationPeerZKImpl.PeerConfigTracker extends ZKNodeTracker
| Modifier and Type | Field and Description |
|---|---|
(package private) ReplicationPeerConfigListener |
listener |
abortable, LOG, nodewatcher| Constructor and Description |
|---|
PeerConfigTracker(String peerConfigNode,
ZKWatcher watcher,
Abortable abortable) |
| Modifier and Type | Method and Description |
|---|---|
void |
nodeCreated(String path)
Called when a new node has been created.
|
void |
nodeDataChanged(String path)
Called when an existing node has changed data.
|
void |
setListener(ReplicationPeerConfigListener listener) |
blockUntilAvailable, blockUntilAvailable, checkIfBaseNodeAvailable, getData, getNode, nodeDeleted, start, stop, toStringgetWatcher, nodeChildrenChangedReplicationPeerConfigListener listener
public PeerConfigTracker(String peerConfigNode, ZKWatcher watcher, Abortable abortable)
public void setListener(ReplicationPeerConfigListener listener)
public void nodeCreated(String path)
ZKListenernodeCreated in class ZKNodeTrackerpath - full path of the new nodepublic void nodeDataChanged(String path)
ZKListenernodeDataChanged in class ZKNodeTrackerpath - full path of the updated nodeCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.