static class StochasticLoadBalancer.MemStoreSizeCostFunction extends StochasticLoadBalancer.CostFromRegionLoadAsRateFunction
Modifier and Type | Field and Description |
---|---|
private static float |
DEFAULT_MEMSTORE_SIZE_COST |
private static String |
MEMSTORE_SIZE_COST_KEY |
cluster
Constructor and Description |
---|
MemStoreSizeCostFunction(org.apache.hadoop.conf.Configuration conf) |
Modifier and Type | Method and Description |
---|---|
protected double |
getCostFromRl(BalancerRegionLoad rl) |
getRegionLoadCost
cost, setClusterMetrics, setLoads
costFromArray, getMultiplier, init, isNeeded, postAction, regionMoved, scale, setMultiplier
private static final String MEMSTORE_SIZE_COST_KEY
private static final float DEFAULT_MEMSTORE_SIZE_COST
MemStoreSizeCostFunction(org.apache.hadoop.conf.Configuration conf)
protected double getCostFromRl(BalancerRegionLoad rl)
getCostFromRl
in class StochasticLoadBalancer.CostFromRegionLoadFunction
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.