@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, shutdown, shutdown, toString, triggerNow
public BalancerChore(HMaster master)
protected void chore()
ScheduledChore
chore
in class ScheduledChore
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.