|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.executor.EventHandler
org.apache.hadoop.hbase.master.handler.OpenedRegionHandler
public class OpenedRegionHandler
Handles OPENED 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 |
|---|
| Fields inherited from class org.apache.hadoop.hbase.executor.EventHandler |
|---|
eventType, seqids, server |
| Constructor Summary | |
|---|---|
OpenedRegionHandler(Server server,
AssignmentManager assignmentManager,
HRegionInfo regionInfo,
HServerInfo serverInfo)
|
|
| Method Summary | |
|---|---|
HRegionInfo |
getHRegionInfo()
|
int |
getPriority()
Get the priority level for this handler instance. |
void |
process()
This method is the main processing loop to be implemented by the various subclasses. |
| Methods inherited from class org.apache.hadoop.hbase.executor.EventHandler |
|---|
compareTo, getEventType, getListener, getSeqid, run, setListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OpenedRegionHandler(Server server,
AssignmentManager assignmentManager,
HRegionInfo regionInfo,
HServerInfo serverInfo)
| Method Detail |
|---|
public int getPriority()
EventHandlerLowest priority is Integer.MAX_VALUE. Highest priority is 0.
Subclasses should override this method to allow prioritizing handlers.
Handlers with the same priority are handled in FIFO order.
getPriority in class EventHandlerpublic HRegionInfo getHRegionInfo()
getHRegionInfo in interface TotesHRegionInfopublic void process()
EventHandler
process in class EventHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||