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

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

public class SplitRegionHandler
extends EventHandler
implements TotesHRegionInfo

Handles SPLIT region event on Master.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.executor.EventHandler
EventHandler.EventHandlerListener, EventHandler.EventType
 
Field Summary
static boolean TEST_SKIP
          For testing only! Set to true to skip handling of split.
 
Fields inherited from class org.apache.hadoop.hbase.executor.EventHandler
eventType, seqids, server, waitingTimeForEvents
 
Constructor Summary
SplitRegionHandler(Server server, AssignmentManager assignmentManager, HRegionInfo regionInfo, ServerName sn, List<HRegionInfo> daughters)
           
 
Method Summary
 HRegionInfo getHRegionInfo()
           
 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
 

Field Detail

TEST_SKIP

public static boolean TEST_SKIP
For testing only! Set to true to skip handling of split.

Constructor Detail

SplitRegionHandler

public SplitRegionHandler(Server server,
                          AssignmentManager assignmentManager,
                          HRegionInfo regionInfo,
                          ServerName sn,
                          List<HRegionInfo> daughters)
Method Detail

getHRegionInfo

public HRegionInfo getHRegionInfo()
Specified by:
getHRegionInfo in interface TotesHRegionInfo
Returns:
HRegionInfo instance.

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 © 2015 The Apache Software Foundation. All Rights Reserved.