@InterfaceAudience.Private public class OpenedRegionHandler extends EventHandler implements TotesHRegionInfo
EventHandler.EventHandlerListenereventType, seqids, server, waitingTimeForEvents| 构造器和说明 |
|---|
OpenedRegionHandler(Server server,
AssignmentManager assignmentManager,
HRegionInfo regionInfo,
OpenRegionCoordination coordination,
OpenRegionCoordination.OpenRegionDetails ord) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
String |
toString() |
compareTo, getEventType, getInformativeName, getListener, getSeqid, handleException, prepare, run, setListenerpublic OpenedRegionHandler(Server server, AssignmentManager assignmentManager, HRegionInfo regionInfo, OpenRegionCoordination coordination, OpenRegionCoordination.OpenRegionDetails ord)
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 在类中 EventHandlerpublic HRegionInfo getHRegionInfo()
getHRegionInfo 在接口中 TotesHRegionInfopublic String toString()
toString 在类中 EventHandlerpublic void process()
EventHandlerprocess 在类中 EventHandlerCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.