@InterfaceAudience.Private public class DeleteTableHandler extends TableEventHandler
EventHandler.EventHandlerListener
masterServices, tableLock, tableName
eventType, 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() |
String |
toString() |
completed, getTableDescriptor, prepare, process, reOpenAllRegions
compareTo, getEventType, getInformativeName, getListener, getPriority, getSeqid, handleException, run, setListener
public DeleteTableHandler(TableName tableName, Server server, MasterServices masterServices)
protected void prepareWithTableLock() throws IOException
TableEventHandler
prepareWithTableLock
in class TableEventHandler
IOException
protected void handleTableOperation(List<HRegionInfo> regions) throws IOException, org.apache.zookeeper.KeeperException
handleTableOperation
in class TableEventHandler
IOException
org.apache.zookeeper.KeeperException
protected void releaseTableLock()
releaseTableLock
in class TableEventHandler
public String toString()
toString
in class EventHandler
Copyright © 2014 The Apache Software Foundation. All rights reserved.