@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()
The task to execute on each scheduled execution of the Chore
|
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, toString, triggerNow
public 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()
ScheduledChore
chore
in class ScheduledChore
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.