@InterfaceAudience.Private public class DeleteTableHandler extends TableEventHandler
EventHandler.EventHandlerListener| Modifier and Type | Field and Description | 
|---|---|
protected HTableDescriptor | 
hTableDescriptor  | 
masterServices, tableLock, tableNameeventType, seqids, server, waitingTimeForEvents| Constructor and Description | 
|---|
DeleteTableHandler(TableName tableName,
                  Server server,
                  MasterServices masterServices)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
handleTableOperation(List<HRegionInfo> regions)  | 
protected void | 
prepareWithTableLock()
Called from prepare() while holding the table lock. 
 | 
protected void | 
releaseTableLock()  | 
protected void | 
removeTableData(List<HRegionInfo> regions)
Removes the table from hbase:meta and archives the HDFS files. 
 | 
String | 
toString()  | 
protected void | 
waitRegionInTransition(List<HRegionInfo> regions)  | 
completed, getTableDescriptor, prepare, process, reOpenAllRegionscompareTo, getEventType, getInformativeName, getListener, getPriority, getSeqid, handleException, run, setListenerprotected HTableDescriptor hTableDescriptor
public DeleteTableHandler(TableName tableName, Server server, MasterServices masterServices)
protected void prepareWithTableLock()
                             throws IOException
TableEventHandlerprepareWithTableLock in class TableEventHandlerIOExceptionprotected void waitRegionInTransition(List<HRegionInfo> regions) throws IOException, CoordinatedStateException
IOExceptionCoordinatedStateExceptionprotected void handleTableOperation(List<HRegionInfo> regions) throws IOException, CoordinatedStateException
handleTableOperation in class TableEventHandlerIOExceptionCoordinatedStateExceptionprotected void removeTableData(List<HRegionInfo> regions) throws IOException, CoordinatedStateException
IOExceptionCoordinatedStateExceptionprotected void releaseTableLock()
releaseTableLock in class TableEventHandlerpublic String toString()
toString in class EventHandler