@InterfaceAudience.Private public class TableNamespaceManager extends Object
ZKNamespaceManager| Constructor and Description |
|---|
TableNamespaceManager(MasterServices masterServices) |
| Modifier and Type | Method and Description |
|---|---|
void |
create(NamespaceDescriptor ns) |
NamespaceDescriptor |
get(String name) |
boolean |
isTableAvailableAndInitialized()
This method checks if the namespace table is assigned and then
tries to create its HTable.
|
NavigableSet<NamespaceDescriptor> |
list() |
void |
remove(String name) |
void |
start() |
void |
update(NamespaceDescriptor ns) |
public TableNamespaceManager(MasterServices masterServices)
public void start()
throws IOException
IOExceptionpublic NamespaceDescriptor get(String name) throws IOException
IOExceptionpublic void create(NamespaceDescriptor ns) throws IOException
IOExceptionpublic void update(NamespaceDescriptor ns) throws IOException
IOExceptionpublic void remove(String name) throws IOException
IOExceptionpublic NavigableSet<NamespaceDescriptor> list() throws IOException
IOExceptionpublic boolean isTableAvailableAndInitialized()
throws IOException
IOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.