public class DummyCostFunction extends Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.hbase.master.balancer.BalancerClusterState |
cluster |
static double |
COST_EPSILON |
Constructor and Description |
---|
DummyCostFunction() |
Modifier and Type | Method and Description |
---|---|
protected double |
cost() |
(package private) float |
getMultiplier() |
(package private) boolean |
isNeeded() |
(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) |
public static final double COST_EPSILON
protected org.apache.hadoop.hbase.master.balancer.BalancerClusterState cluster
public DummyCostFunction()
protected double cost()
boolean isNeeded()
float getMultiplier()
void setMultiplier(float arg0)
void prepare(org.apache.hadoop.hbase.master.balancer.BalancerClusterState arg0)
void postAction(org.apache.hadoop.hbase.master.balancer.BalanceAction arg0)
protected void regionMoved(int arg0, int arg1, int arg2)
protected static double scale(double arg0, double arg1, double arg2)
public void updateWeight(double[] arg0)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.