@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) |
getWatcher
public ZKNamespaceManager(ZooKeeperWatcher zkw) throws IOException
IOException
public void start() throws IOException
IOException
public NamespaceDescriptor get(String name)
public void update(NamespaceDescriptor ns) throws IOException
IOException
public void remove(String name) throws IOException
IOException
public NavigableSet<NamespaceDescriptor> list() throws IOException
IOException
public void nodeCreated(String path)
nodeCreated
in class ZooKeeperListener
public void nodeDeleted(String path)
nodeDeleted
in class ZooKeeperListener
public void nodeDataChanged(String path)
nodeDataChanged
in class ZooKeeperListener
public void nodeChildrenChanged(String path)
nodeChildrenChanged
in class ZooKeeperListener
Copyright © 2015 The Apache Software Foundation. All Rights Reserved.