@InterfaceAudience.Private public class ZKNamespaceManager extends ZKListener
watcher| Constructor and Description |
|---|
ZKNamespaceManager(ZKWatcher zkw) |
| Modifier and Type | Method and Description |
|---|---|
NamespaceDescriptor |
get(String name) |
NavigableSet<NamespaceDescriptor> |
list() |
void |
nodeChildrenChanged(String path) |
void |
nodeCreated(String path) |
void |
nodeDataChanged(String path) |
void |
nodeDeleted(String path) |
void |
remove(String name) |
void |
start() |
void |
stop() |
void |
update(NamespaceDescriptor ns) |
getWatcherpublic ZKNamespaceManager(ZKWatcher zkw) throws IOException
IOExceptionpublic void start()
throws IOException
IOExceptionpublic void stop()
throws IOException
IOExceptionpublic NamespaceDescriptor get(String name)
public void update(NamespaceDescriptor ns) throws IOException
IOExceptionpublic void remove(String name) throws IOException
IOExceptionpublic NavigableSet<NamespaceDescriptor> list() throws IOException
IOExceptionpublic void nodeCreated(String path)
nodeCreated in class ZKListenerpublic void nodeDeleted(String path)
nodeDeleted in class ZKListenerpublic void nodeDataChanged(String path)
nodeDataChanged in class ZKListenerpublic void nodeChildrenChanged(String path)
nodeChildrenChanged in class ZKListenerCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.