org.apache.hadoop.hbase.master
Class TableNamespaceManager
java.lang.Object
org.apache.hadoop.hbase.master.TableNamespaceManager
@InterfaceAudience.Private
public class TableNamespaceManager
- extends Object
This is a helper class used to manage the namespace
metadata that is stored in TableName.NAMESPACE_TABLE_NAME
It also mirrors updates to the ZK store by forwarding updates to
ZKNamespaceManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableNamespaceManager
public TableNamespaceManager(MasterServices masterServices)
throws IOException
- Throws:
IOException
start
public void start()
throws IOException
- Throws:
IOException
get
public NamespaceDescriptor get(String name)
throws IOException
- Throws:
IOException
create
public void create(NamespaceDescriptor ns)
throws IOException
- Throws:
IOException
update
public void update(NamespaceDescriptor ns)
throws IOException
- Throws:
IOException
remove
public void remove(String name)
throws IOException
- Throws:
IOException
list
public NavigableSet<NamespaceDescriptor> list()
throws IOException
- Throws:
IOException
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.