@InterfaceAudience.Private public class CompactedHFilesDischarger extends ScheduledChore
| Constructor and Description |
|---|
CompactedHFilesDischarger(int period,
Stoppable stopper,
RegionServerServices regionServerServices) |
CompactedHFilesDischarger(int period,
Stoppable stopper,
RegionServerServices regionServerServices,
boolean useExecutor) |
| Modifier and Type | Method and Description |
|---|---|
void |
chore() |
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, shutdown, shutdown, toString, triggerNowpublic CompactedHFilesDischarger(int period,
Stoppable stopper,
RegionServerServices regionServerServices)
period - the period of time to sleep between each runstopper - the stopperregionServerServices - the region server that starts this chorepublic CompactedHFilesDischarger(int period,
Stoppable stopper,
RegionServerServices regionServerServices,
boolean useExecutor)
period - the period of time to sleep between each runstopper - the stopperregionServerServices - the region server that starts this choreuseExecutor - true if to use the region server's executor service, false
otherwisepublic void chore()
chore in class ScheduledChoreCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.