@InterfaceAudience.Private public class DispatchMergingRegionHandler extends EventHandler
EventHandler.EventHandlerListener
Modifier and Type | Field and Description |
---|---|
private CatalogJanitor |
catalogJanitor |
private boolean |
forcible |
private static org.apache.commons.logging.Log |
LOG |
private MasterServices |
masterServices |
private HRegionInfo |
region_a |
private HRegionInfo |
region_b |
private int |
timeout |
eventType, seqids, server, waitingTimeForEvents
Constructor and Description |
---|
DispatchMergingRegionHandler(MasterServices services,
CatalogJanitor catalogJanitor,
HRegionInfo region_a,
HRegionInfo region_b,
boolean forcible) |
Modifier and Type | Method and Description |
---|---|
private RegionLoad |
getRegionLoad(ServerName sn,
HRegionInfo hri) |
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
private static final org.apache.commons.logging.Log LOG
private final MasterServices masterServices
private final CatalogJanitor catalogJanitor
private HRegionInfo region_a
private HRegionInfo region_b
private final boolean forcible
private final int timeout
public DispatchMergingRegionHandler(MasterServices services, CatalogJanitor catalogJanitor, HRegionInfo region_a, HRegionInfo region_b, boolean forcible)
public void process() throws IOException
EventHandler
process
in class EventHandler
IOException
private RegionLoad getRegionLoad(ServerName sn, HRegionInfo hri)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.