@InterfaceAudience.Private public class MetaLocationSyncer extends ClientZKSyncer
ClientZKSyncer.ClientZkUpdater
watcher
Constructor and Description |
---|
MetaLocationSyncer(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, start
getWatcher, nodeChildrenChanged
public MetaLocationSyncer(ZKWatcher watcher, ZKWatcher clientZkWatcher, Server server)
boolean validate(String path)
ClientZKSyncer
validate
in class ClientZKSyncer
path
- the path to validateCollection<String> getNodesToWatch()
getNodesToWatch
in class ClientZKSyncer
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.