@InterfaceAudience.Private public abstract class ClientZKSyncer extends ZKListener
getNodesToWatch() methodwatcher| Constructor and Description |
|---|
ClientZKSyncer(ZKWatcher watcher,
ZKWatcher clientZkWatcher,
Server server) |
| Modifier and Type | Method and Description |
|---|---|
void |
nodeCreated(String path) |
void |
nodeDataChanged(String path) |
void |
nodeDeleted(String path) |
void |
start()
Starts the syncer
|
getWatcher, nodeChildrenChangedpublic void start()
throws org.apache.zookeeper.KeeperException
org.apache.zookeeper.KeeperException - if error occurs when trying to create base nodes on client ZKpublic void nodeCreated(String path)
nodeCreated in class ZKListenerpublic void nodeDataChanged(String path)
nodeDataChanged in class ZKListenerpublic void nodeDeleted(String path)
nodeDeleted in class ZKListenerCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.