static class StochasticLoadBalancer.RegionCountSkewCostFunction extends StochasticLoadBalancer.CostFunction
Modifier and Type | Field and Description |
---|---|
private static float |
DEFAULT_REGION_COUNT_SKEW_COST |
private static String |
REGION_COUNT_SKEW_COST_KEY |
private double[] |
stats |
cluster
Constructor and Description |
---|
RegionCountSkewCostFunction(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
(package private) double |
cost() |
costFromArray, getMultiplier, init, isNeeded, postAction, regionMoved, scale, setMultiplier
private static final String REGION_COUNT_SKEW_COST_KEY
private static final float DEFAULT_REGION_COUNT_SKEW_COST
private double[] stats
RegionCountSkewCostFunction(org.apache.hadoop.conf.Configuration conf)
double cost()
cost
in class StochasticLoadBalancer.CostFunction
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.