@InterfaceAudience.Private public class OpenRegionHandler extends EventHandler
This is executed after receiving an OPEN RPC from the master or client.
EventHandler.EventHandlerListener
Modifier and Type | Field and Description |
---|---|
protected RegionServerServices |
rsServices |
eventType, seqids, server, waitingTimeForEvents
Modifier | Constructor and Description |
---|---|
protected |
OpenRegionHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd,
EventType eventType,
long masterSystemTime,
OpenRegionCoordination coordination,
OpenRegionCoordination.OpenRegionDetails ord) |
|
OpenRegionHandler(Server server,
RegionServerServices rsServices,
HRegionInfo regionInfo,
HTableDescriptor htd,
long masterSystemTime,
OpenRegionCoordination coordination,
OpenRegionCoordination.OpenRegionDetails ord) |
Modifier and Type | Method and Description |
---|---|
HRegionInfo |
getRegionInfo() |
void |
process()
This method is the main processing loop to be implemented by the various
subclasses.
|
compareTo, getEventType, getInformativeName, getListener, getPriority, getSeqid, handleException, prepare, run, setListener, toString
protected final RegionServerServices rsServices
public OpenRegionHandler(Server server, RegionServerServices rsServices, HRegionInfo regionInfo, HTableDescriptor htd, long masterSystemTime, OpenRegionCoordination coordination, OpenRegionCoordination.OpenRegionDetails ord)
protected OpenRegionHandler(Server server, RegionServerServices rsServices, HRegionInfo regionInfo, HTableDescriptor htd, EventType eventType, long masterSystemTime, OpenRegionCoordination coordination, OpenRegionCoordination.OpenRegionDetails ord)
public HRegionInfo getRegionInfo()
public void process() throws IOException
EventHandler
process
in class EventHandler
IOException
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.