@InterfaceAudience.Private class WriteRequestCostFunction extends CostFromRegionLoadAsRateFunction
| Modifier and Type | Field and Description |
|---|---|
private static float |
DEFAULT_WRITE_REQUEST_COST |
private static String |
WRITE_REQUEST_COST_KEY |
cluster, COST_EPSILON| Constructor and Description |
|---|
WriteRequestCostFunction(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
getCostFromRl(BalancerRegionLoad rl) |
getRegionLoadCostcost, prepare, regionMovedgetMultiplier, isNeeded, postAction, scale, setMultiplier, updateWeightprivate static final String WRITE_REQUEST_COST_KEY
private static final float DEFAULT_WRITE_REQUEST_COST
WriteRequestCostFunction(org.apache.hadoop.conf.Configuration conf)
protected double getCostFromRl(BalancerRegionLoad rl)
getCostFromRl in class CostFromRegionLoadFunctionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.