@InterfaceAudience.Private public class ZKNamespaceManager extends ZooKeeperListener
watcher| Constructor and Description |
|---|
ZKNamespaceManager(ZooKeeperWatcher 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 |
update(NamespaceDescriptor ns) |
public ZKNamespaceManager(ZooKeeperWatcher zkw) throws IOException
IOExceptionpublic void start()
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 ZooKeeperListenerpublic void nodeDeleted(String path)
nodeDeleted in class ZooKeeperListenerpublic void nodeDataChanged(String path)
nodeDataChanged in class ZooKeeperListenerpublic void nodeChildrenChanged(String path)
nodeChildrenChanged in class ZooKeeperListenerCopyright © 2014 The Apache Software Foundation. All Rights Reserved.