protected static class BaseLoadBalancer.Cluster extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BaseLoadBalancer.Cluster.Action
An action to move or swap a region
|
static class |
BaseLoadBalancer.Cluster.AssignRegionAction |
static class |
BaseLoadBalancer.Cluster.MoveRegionAction |
static class |
BaseLoadBalancer.Cluster.SwapRegionsAction |
Modifier and Type | Field and Description |
---|---|
static BaseLoadBalancer.Cluster.Action |
NullAction |
protected RackManager |
rackManager |
Modifier | Constructor and Description |
---|---|
protected |
BaseLoadBalancer.Cluster(Collection<HRegionInfo> unassignedRegions,
Map<ServerName,List<HRegionInfo>> clusterState,
Map<String,Deque<RegionLoad>> loads,
org.apache.hadoop.hbase.master.balancer.RegionLocationFinder regionFinder,
RackManager rackManager) |
protected |
BaseLoadBalancer.Cluster(Map<ServerName,List<HRegionInfo>> clusterState,
Map<String,Deque<RegionLoad>> loads,
org.apache.hadoop.hbase.master.balancer.RegionLocationFinder regionFinder,
RackManager rackManager) |
protected final RackManager rackManager
public static final BaseLoadBalancer.Cluster.Action NullAction
protected BaseLoadBalancer.Cluster(Map<ServerName,List<HRegionInfo>> clusterState, Map<String,Deque<RegionLoad>> loads, org.apache.hadoop.hbase.master.balancer.RegionLocationFinder regionFinder, RackManager rackManager)
protected BaseLoadBalancer.Cluster(Collection<HRegionInfo> unassignedRegions, Map<ServerName,List<HRegionInfo>> clusterState, Map<String,Deque<RegionLoad>> loads, org.apache.hadoop.hbase.master.balancer.RegionLocationFinder regionFinder, RackManager rackManager)
public void doAction(BaseLoadBalancer.Cluster.Action action)
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.