static class TestStochasticLoadBalancerHeterogeneousCost.FairRandomCandidateGenerator extends Object
Constructor and Description |
---|
FairRandomCandidateGenerator() |
Modifier and Type | Method and Description |
---|---|
(package private) org.apache.hadoop.hbase.master.balancer.BalanceAction |
generate(org.apache.hadoop.hbase.master.balancer.BalancerClusterState cluster) |
protected org.apache.hadoop.hbase.master.balancer.BalanceAction |
getAction(int arg0,
int arg1,
int arg2,
int arg3) |
(package private) int |
pickOtherRandomRack(org.apache.hadoop.hbase.master.balancer.BalancerClusterState arg0,
int arg1) |
(package private) int |
pickOtherRandomServer(org.apache.hadoop.hbase.master.balancer.BalancerClusterState arg0,
int arg1) |
(package private) int |
pickRandomRack(org.apache.hadoop.hbase.master.balancer.BalancerClusterState arg0) |
(package private) int |
pickRandomRegion(org.apache.hadoop.hbase.master.balancer.BalancerClusterState arg0,
int arg1,
double arg2) |
org.apache.hadoop.hbase.master.balancer.BalanceAction |
pickRandomRegions(org.apache.hadoop.hbase.master.balancer.BalancerClusterState cluster,
int thisServer,
int otherServer) |
(package private) int |
pickRandomServer(org.apache.hadoop.hbase.master.balancer.BalancerClusterState arg0) |
FairRandomCandidateGenerator()
public org.apache.hadoop.hbase.master.balancer.BalanceAction pickRandomRegions(org.apache.hadoop.hbase.master.balancer.BalancerClusterState cluster, int thisServer, int otherServer)
org.apache.hadoop.hbase.master.balancer.BalanceAction generate(org.apache.hadoop.hbase.master.balancer.BalancerClusterState cluster)
int pickRandomRegion(org.apache.hadoop.hbase.master.balancer.BalancerClusterState arg0, int arg1, double arg2)
int pickRandomServer(org.apache.hadoop.hbase.master.balancer.BalancerClusterState arg0)
int pickRandomRack(org.apache.hadoop.hbase.master.balancer.BalancerClusterState arg0)
int pickOtherRandomServer(org.apache.hadoop.hbase.master.balancer.BalancerClusterState arg0, int arg1)
int pickOtherRandomRack(org.apache.hadoop.hbase.master.balancer.BalancerClusterState arg0, int arg1)
protected org.apache.hadoop.hbase.master.balancer.BalanceAction getAction(int arg0, int arg1, int arg2, int arg3)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.