@InterfaceAudience.Private public class OpenRegionHandler extends EventHandler
This is executed after receiving an OPEN RPC from the master or client.
| Modifier and Type | Field and Description |
|---|---|
protected RegionServerServices |
rsServices |
eventType, seqids, server, waitingTimeForEvents| Modifier | Constructor and Description |
|---|---|
|
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) |
| Modifier and Type | Method and Description |
|---|---|
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 in class EventHandlerIOExceptionCopyright © 2007–2018 The Apache Software Foundation. All rights reserved.