org.apache.accumulo.server.master.state.tables
Class TableManager
java.lang.Object
org.apache.accumulo.server.master.state.tables.TableManager
public class TableManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
prepareNewTableState
public static void prepareNewTableState(java.lang.String instanceId,
java.lang.String tableId,
java.lang.String tableName,
TableState state)
throws org.apache.zookeeper.KeeperException,
java.lang.InterruptedException
- Throws:
org.apache.zookeeper.KeeperException
java.lang.InterruptedException
getInstance
public static TableManager getInstance()
getTableState
public TableState getTableState(java.lang.String tableId)
transitionTableState
public void transitionTableState(java.lang.String tableId,
TableState newState)
updateTableStateCache
public TableState updateTableStateCache(java.lang.String tableId)
addTable
public void addTable(java.lang.String tableId,
java.lang.String tableName)
throws org.apache.zookeeper.KeeperException,
java.lang.InterruptedException
- Throws:
org.apache.zookeeper.KeeperException
java.lang.InterruptedException
removeTable
public void removeTable(java.lang.String tableId)
throws org.apache.zookeeper.KeeperException,
java.lang.InterruptedException
- Throws:
org.apache.zookeeper.KeeperException
java.lang.InterruptedException
addObserver
public boolean addObserver(TableObserver to)
removeObserver
public boolean removeObserver(TableObserver to)
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.