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

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

@InterfaceAudience.Private
public class ModifyTableHandler
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
 
Fields inherited from class org.apache.hadoop.hbase.executor.EventHandler
eventType, seqids, server, waitingTimeForEvents
 
Constructor Summary
ModifyTableHandler(TableName tableName, HTableDescriptor htd, 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

ModifyTableHandler

public ModifyTableHandler(TableName tableName,
                          HTableDescriptor htd,
                          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> hris)
                             throws IOException
Specified by:
handleTableOperation in class TableEventHandler
Throws:
IOException

toString

public String toString()
Overrides:
toString in class EventHandler


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