Package | Description |
---|---|
org.apache.hadoop.hbase.master.balancer |
Modifier and Type | Field and Description |
---|---|
(package private) Map<String,Deque<BalancerRegionLoad>> |
StochasticLoadBalancer.loads |
private Map<String,Deque<BalancerRegionLoad>> |
StochasticLoadBalancer.CostFromRegionLoadFunction.loads |
Modifier and Type | Method and Description |
---|---|
protected abstract double |
StochasticLoadBalancer.CostFromRegionLoadFunction.getCostFromRl(BalancerRegionLoad rl) |
protected double |
StochasticLoadBalancer.ReadRequestCostFunction.getCostFromRl(BalancerRegionLoad rl) |
protected double |
StochasticLoadBalancer.WriteRequestCostFunction.getCostFromRl(BalancerRegionLoad rl) |
protected double |
StochasticLoadBalancer.MemStoreSizeCostFunction.getCostFromRl(BalancerRegionLoad rl) |
protected double |
StochasticLoadBalancer.StoreFileCostFunction.getCostFromRl(BalancerRegionLoad rl) |
Modifier and Type | Method and Description |
---|---|
protected double |
StochasticLoadBalancer.CostFromRegionLoadFunction.getRegionLoadCost(Collection<BalancerRegionLoad> regionLoadList) |
protected double |
StochasticLoadBalancer.CostFromRegionLoadAsRateFunction.getRegionLoadCost(Collection<BalancerRegionLoad> regionLoadList) |
private void |
BaseLoadBalancer.Cluster.registerRegion(RegionInfo region,
int regionIndex,
int serverIndex,
Map<String,Deque<BalancerRegionLoad>> loads,
RegionLocationFinder regionFinder)
Helper for Cluster constructor to handle a region
|
(package private) void |
StochasticLoadBalancer.CostFromRegionLoadFunction.setLoads(Map<String,Deque<BalancerRegionLoad>> l) |
Constructor and Description |
---|
Cluster(Collection<RegionInfo> unassignedRegions,
Map<ServerName,List<RegionInfo>> clusterState,
Map<String,Deque<BalancerRegionLoad>> loads,
RegionLocationFinder regionFinder,
RackManager rackManager) |
Cluster(Map<ServerName,List<RegionInfo>> clusterState,
Map<String,Deque<BalancerRegionLoad>> loads,
RegionLocationFinder regionFinder,
RackManager rackManager) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.