@InterfaceAudience.Private public class OpenRegionHandler extends EventHandler
This is executed after receiving an OPEN RPC from the master or client.
| 限定符和类型 | 字段和说明 |
|---|---|
protected RegionServerServices |
rsServices |
eventType, seqids, server, waitingTimeForEvents| 限定符 | 构造器和说明 |
|---|---|
|
OpenRegionHandler(Server server,
RegionServerServices rsServices,
RegionInfo regionInfo,
TableDescriptor htd,
long masterSystemTime) |
protected |
OpenRegionHandler(Server server,
RegionServerServices rsServices,
RegionInfo regionInfo,
TableDescriptor htd,
long masterSystemTime,
EventType eventType) |
| 限定符和类型 | 方法和说明 |
|---|---|
RegionInfo |
getRegionInfo() |
void |
process()
This method is the main processing loop to be implemented by the various
subclasses.
|
compareTo, getEventType, getInformativeName, getPriority, getSeqid, handleException, prepare, run, toStringprotected final RegionServerServices rsServices
public OpenRegionHandler(Server server, RegionServerServices rsServices, RegionInfo regionInfo, TableDescriptor htd, long masterSystemTime)
protected OpenRegionHandler(Server server, RegionServerServices rsServices, RegionInfo regionInfo, TableDescriptor htd, long masterSystemTime, EventType eventType)
public RegionInfo getRegionInfo()
public void process()
throws IOException
EventHandlerprocess 在类中 EventHandlerIOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.