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