org.apache.hadoop.hbase.master.handler
Class DeleteTableHandler

java.lang.Object
  extended by org.apache.hadoop.hbase.executor.EventHandler
      extended by org.apache.hadoop.hbase.master.handler.TableEventHandler
          extended by org.apache.hadoop.hbase.master.handler.DeleteTableHandler
All Implemented Interfaces:
Comparable<Runnable>, Runnable

@InterfaceAudience.Private
public class DeleteTableHandler
extends TableEventHandler


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.executor.EventHandler
EventHandler.EventHandlerListener
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.master.handler.TableEventHandler
masterServices, tableLock, tableName, tableNameStr
 
Fields inherited from class org.apache.hadoop.hbase.executor.EventHandler
eventType, seqids, server, waitingTimeForEvents
 
Constructor Summary
DeleteTableHandler(byte[] tableName, Server server, MasterServices masterServices)
           
 
Method Summary
protected  void handleTableOperation(List<HRegionInfo> regions)
           
protected  void prepareWithTableLock()
          Called from prepare() while holding the table lock.
protected  void releaseTableLock()
           
 String toString()
           
 
Methods inherited from class org.apache.hadoop.hbase.master.handler.TableEventHandler
getTableDescriptor, prepare, process, reOpenAllRegions
 
Methods inherited from class org.apache.hadoop.hbase.executor.EventHandler
compareTo, getEventType, getInformativeName, getListener, getPriority, getSeqid, run, setListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteTableHandler

public DeleteTableHandler(byte[] tableName,
                          Server server,
                          MasterServices masterServices)
Method Detail

prepareWithTableLock

protected void prepareWithTableLock()
                             throws IOException
Description copied from class: TableEventHandler
Called from prepare() while holding the table lock. Subclasses can do extra initialization, and not worry about the releasing the table lock.

Overrides:
prepareWithTableLock in class TableEventHandler
Throws:
IOException

handleTableOperation

protected void handleTableOperation(List<HRegionInfo> regions)
                             throws IOException,
                                    org.apache.zookeeper.KeeperException
Specified by:
handleTableOperation in class TableEventHandler
Throws:
IOException
org.apache.zookeeper.KeeperException

releaseTableLock

protected void releaseTableLock()
Overrides:
releaseTableLock in class TableEventHandler

toString

public String toString()
Overrides:
toString in class EventHandler


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.