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

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.TableDeleteFamilyHandler
All Implemented Interfaces:
Comparable<Runnable>, Runnable

@InterfaceAudience.Private
public class TableDeleteFamilyHandler
extends TableEventHandler

Handles adding a new family to an existing table.


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
 
Fields inherited from class org.apache.hadoop.hbase.executor.EventHandler
eventType, seqids, server, waitingTimeForEvents
 
Constructor Summary
TableDeleteFamilyHandler(TableName tableName, byte[] familyName, Server server, MasterServices masterServices)
           
 
Method Summary
protected  void handleTableOperation(List<HRegionInfo> hris)
           
protected  void prepareWithTableLock()
          Called from prepare() while holding the table lock.
 String toString()
           
 
Methods inherited from class org.apache.hadoop.hbase.master.handler.TableEventHandler
completed, getTableDescriptor, prepare, process, releaseTableLock, reOpenAllRegions
 
Methods inherited from class org.apache.hadoop.hbase.executor.EventHandler
compareTo, getEventType, getInformativeName, getListener, getPriority, getSeqid, handleException, run, setListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableDeleteFamilyHandler

public TableDeleteFamilyHandler(TableName tableName,
                                byte[] familyName,
                                Server server,
                                MasterServices masterServices)
                         throws IOException
Throws:
IOException
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> hris)
                             throws IOException
Specified by:
handleTableOperation in class TableEventHandler
Throws:
IOException

toString

public String toString()
Overrides:
toString in class EventHandler


Copyright © 2015 The Apache Software Foundation. All rights reserved.