@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, toString
protected 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
EventHandler
process
in class EventHandler
IOException
Copyright © 2007–2019 Cloudera. All rights reserved.