@InterfaceAudience.Private public class CloseRegionHandler extends EventHandler
eventType, seqids, server, waitingTimeForEvents
Modifier | Constructor and Description |
---|---|
protected |
CloseRegionHandler(Server server,
RegionServerServices rsServices,
RegionInfo regionInfo,
boolean abort,
EventType eventType,
ServerName destination) |
|
CloseRegionHandler(Server server,
RegionServerServices rsServices,
RegionInfo regionInfo,
boolean abort,
ServerName destination)
This method used internally by the RegionServer to close out regions.
|
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
public CloseRegionHandler(Server server, RegionServerServices rsServices, RegionInfo regionInfo, boolean abort, ServerName destination)
server
- rsServices
- regionInfo
- abort
- If the regionserver is aborting.destination
- protected CloseRegionHandler(Server server, RegionServerServices rsServices, RegionInfo regionInfo, boolean abort, EventType eventType, ServerName destination)
public RegionInfo getRegionInfo()
public void process()
EventHandler
process
in class EventHandler
Copyright © 2007–2019 Cloudera. All rights reserved.