org.apache.hadoop.hbase.master.balancer
Class BalancerChore

java.lang.Object
  extended by org.apache.hadoop.hbase.util.HasThread
      extended by org.apache.hadoop.hbase.Chore
          extended by org.apache.hadoop.hbase.master.balancer.BalancerChore
All Implemented Interfaces:
Runnable

@InterfaceAudience.Private
public class BalancerChore
extends Chore

Chore that will call HMaster.balanceHMaster.balance() when needed.


Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.Chore
stopper
 
Constructor Summary
BalancerChore(HMaster master)
           
 
Method Summary
protected  void chore()
          Look for chores.
 
Methods inherited from class org.apache.hadoop.hbase.Chore
choreForTesting, cleanup, initialChore, run, sleep, triggerNow
 
Methods inherited from class org.apache.hadoop.hbase.util.HasThread
getName, getThread, interrupt, isAlive, isInterrupted, join, join, join, setDaemon, setName, setPriority, setUncaughtExceptionHandler, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BalancerChore

public BalancerChore(HMaster master)
Method Detail

chore

protected void chore()
Description copied from class: Chore
Look for chores. If any found, do them else just return.

Specified by:
chore in class Chore


Copyright © 2015 The Apache Software Foundation. All rights reserved.