@InterfaceAudience.Private public class CloseRegionHandler extends EventHandler
Modifier and Type | Field and Description |
---|---|
private boolean |
abort |
private ServerName |
destination |
private static org.slf4j.Logger |
LOG |
private RegionInfo |
regionInfo |
private RegionServerServices |
rsServices |
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
private static final org.slf4j.Logger LOG
private final RegionServerServices rsServices
private final RegionInfo regionInfo
private final boolean abort
private ServerName destination
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 The Apache Software Foundation. All rights reserved.