@InterfaceAudience.Private public class CompactedHFilesDischarger extends ScheduledChore
| 构造器和说明 |
|---|
CompactedHFilesDischarger(int period,
Stoppable stopper,
RegionServerServices regionServerServices) |
CompactedHFilesDischarger(int period,
Stoppable stopper,
RegionServerServices regionServerServices,
boolean useExecutor) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
chore() |
cancel, cancel, choreForTesting, cleanup, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, 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 在类中 ScheduledChoreCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.