@InterfaceAudience.Private public class MasterAddressSyncer extends ClientZKSyncer
ClientZKSyncer.ClientZkUpdater| Modifier and Type | Field and Description |
|---|---|
private String |
masterAddressZNode |
watcher| Constructor and Description |
|---|
MasterAddressSyncer(ZKWatcher watcher,
ZKWatcher clientZkWatcher,
Server server) |
| Modifier and Type | Method and Description |
|---|---|
(package private) Collection<String> |
getNodesToWatch() |
(package private) boolean |
validate(String path)
Validate whether a znode path is watched by us
|
nodeCreated, nodeDataChanged, nodeDeleted, startgetWatcher, nodeChildrenChangedprivate final String masterAddressZNode
public MasterAddressSyncer(ZKWatcher watcher, ZKWatcher clientZkWatcher, Server server)
boolean validate(String path)
ClientZKSyncervalidate in class ClientZKSyncerpath - the path to validateCollection<String> getNodesToWatch()
getNodesToWatch in class ClientZKSyncerCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.