static class StochasticLoadBalancer.ReadRequestCostFunction extends StochasticLoadBalancer.CostFromRegionLoadFunction
| Modifier and Type | Field and Description |
|---|---|
private static float |
DEFAULT_READ_REQUEST_COST |
private static String |
READ_REQUEST_COST_KEY |
cluster| Constructor and Description |
|---|
StochasticLoadBalancer.ReadRequestCostFunction(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
getCostFromRl(RegionLoad rl) |
cost, getRegionLoadCost, setClusterStatus, setLoadscostFromArray, getMultiplier, init, postAction, regionMoved, scale, setMultiplierprivate static final String READ_REQUEST_COST_KEY
private static final float DEFAULT_READ_REQUEST_COST
StochasticLoadBalancer.ReadRequestCostFunction(org.apache.hadoop.conf.Configuration conf)
protected double getCostFromRl(RegionLoad rl)
getCostFromRl in class StochasticLoadBalancer.CostFromRegionLoadFunctionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.