@InterfaceAudience.Private public class MobCompactionChore extends ScheduledChore
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG |
private HMaster |
master |
private ExecutorService |
pool |
| Constructor and Description |
|---|
MobCompactionChore(HMaster master,
int period) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
chore()
The task to execute on each scheduled execution of the Chore
|
protected void |
cleanup()
Override to run cleanup tasks when the Chore encounters an error and must stop running
|
cancel, cancel, choreForTesting, getInitialDelay, getName, getPeriod, getStopper, getTimeUnit, initialChore, isInitialChoreComplete, isScheduled, run, toString, triggerNowprivate static final org.slf4j.Logger LOG
private ExecutorService pool
public MobCompactionChore(HMaster master, int period)
protected void chore()
ScheduledChorechore in class ScheduledChoreprotected void cleanup()
ScheduledChorecleanup in class ScheduledChoreCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.