@InterfaceAudience.Private public class BalancerChore extends ScheduledChore
HMaster.balance() when
needed.| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG |
private HMaster |
master |
| Constructor and Description |
|---|
BalancerChore(HMaster master) |
| Modifier and Type | Method and Description |
|---|---|
protected 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, triggerNowpublic BalancerChore(HMaster master)
protected void chore()
ScheduledChorechore in class ScheduledChoreCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.