@InterfaceAudience.Private public class BalancerChore extends ScheduledChore
HMaster.balance()
when
needed.Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.logging.Log |
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, triggerNow
private static final org.apache.commons.logging.Log LOG
private final HMaster master
public BalancerChore(HMaster master)
protected void chore()
ScheduledChore
chore
in class ScheduledChore
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.