@InterfaceAudience.Private public class MobCompactionChore extends ScheduledChore
| 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, triggerNowpublic MobCompactionChore(HMaster master, int period)
protected void chore()
ScheduledChorechore in class ScheduledChoreprotected void cleanup()
ScheduledChorecleanup in class ScheduledChore