@InterfaceAudience.Private public class ZKNamespaceManager extends ZKListener
watcher| 构造器和说明 |
|---|
ZKNamespaceManager(ZKWatcher zkw) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在类中 ZKListenerpublic void nodeDeleted(String path)
nodeDeleted 在类中 ZKListenerpublic void nodeDataChanged(String path)
nodeDataChanged 在类中 ZKListenerpublic void nodeChildrenChanged(String path)
nodeChildrenChanged 在类中 ZKListenerCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.