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

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

public class CreateTableHandler
extends EventHandler

Handler to create a table.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.executor.EventHandler
EventHandler.EventHandlerListener, EventHandler.EventType
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.executor.EventHandler
eventType, seqids, server, waitingTimeForEvents
 
Constructor Summary
CreateTableHandler(Server server, MasterFileSystem fileSystemManager, ServerManager serverManager, HTableDescriptor hTableDescriptor, org.apache.hadoop.conf.Configuration conf, HRegionInfo[] newRegions, CatalogTracker catalogTracker, AssignmentManager assignmentManager)
           
 
Method Summary
 void process()
          This method is the main processing loop to be implemented by the various subclasses.
 String toString()
           
 
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

CreateTableHandler

public CreateTableHandler(Server server,
                          MasterFileSystem fileSystemManager,
                          ServerManager serverManager,
                          HTableDescriptor hTableDescriptor,
                          org.apache.hadoop.conf.Configuration conf,
                          HRegionInfo[] newRegions,
                          CatalogTracker catalogTracker,
                          AssignmentManager assignmentManager)
                   throws NotAllMetaRegionsOnlineException,
                          TableExistsException,
                          IOException
Throws:
NotAllMetaRegionsOnlineException
TableExistsException
IOException
Method Detail

toString

public String toString()
Overrides:
toString in class EventHandler

process

public void process()
Description copied from class: EventHandler
This method is the main processing loop to be implemented by the various subclasses.

Specified by:
process in class EventHandler


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