Class DummyCostFunction

java.lang.Object
org.apache.hadoop.hbase.master.balancer.DummyCostFunction

public class DummyCostFunction extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.hadoop.hbase.master.balancer.BalancerClusterState
     
    static final double
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected double
     
    (package private) float
     
    (package private) boolean
     
    (package private) void
    postAction(org.apache.hadoop.hbase.master.balancer.BalanceAction arg0)
     
    (package private) void
    prepare(org.apache.hadoop.hbase.master.balancer.BalancerClusterState arg0)
     
    protected void
    regionMoved(int arg0, int arg1, int arg2)
     
    protected static double
    scale(double arg0, double arg1, double arg2)
     
    (package private) void
    setMultiplier(float arg0)
     
    void
    updateWeight(double[] arg0)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • COST_EPSILON

      public static final double COST_EPSILON
      See Also:
    • cluster

      protected org.apache.hadoop.hbase.master.balancer.BalancerClusterState cluster
  • Constructor Details

  • Method Details

    • cost

      protected double cost()
    • isNeeded

      boolean isNeeded()
    • getMultiplier

      float getMultiplier()
    • setMultiplier

      void setMultiplier(float arg0)
    • prepare

      void prepare(org.apache.hadoop.hbase.master.balancer.BalancerClusterState arg0)
    • postAction

      void postAction(org.apache.hadoop.hbase.master.balancer.BalanceAction arg0)
    • regionMoved

      protected void regionMoved(int arg0, int arg1, int arg2)
    • updateWeight

      public void updateWeight(double[] arg0)
    • scale

      protected static double scale(double arg0, double arg1, double arg2)