Class TestStochasticLoadBalancerHeterogeneousCost.FairRandomCandidateGenerator
java.lang.Object
org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancerHeterogeneousCost.FairRandomCandidateGenerator
- Enclosing class:
- TestStochasticLoadBalancerHeterogeneousCost
static class TestStochasticLoadBalancerHeterogeneousCost.FairRandomCandidateGenerator
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(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) toString()
-
Constructor Details
-
FairRandomCandidateGenerator
-
-
Method Details
-
pickRandomRegions
public org.apache.hadoop.hbase.master.balancer.BalanceAction pickRandomRegions(org.apache.hadoop.hbase.master.balancer.BalancerClusterState cluster, int thisServer, int otherServer) -
generate
org.apache.hadoop.hbase.master.balancer.BalanceAction generate(org.apache.hadoop.hbase.master.balancer.BalancerClusterState cluster) -
toString
-
pickRandomRegion
int pickRandomRegion(org.apache.hadoop.hbase.master.balancer.BalancerClusterState arg0, int arg1, double arg2) -
pickRandomServer
int pickRandomServer(org.apache.hadoop.hbase.master.balancer.BalancerClusterState arg0) -
pickRandomRack
int pickRandomRack(org.apache.hadoop.hbase.master.balancer.BalancerClusterState arg0) -
pickOtherRandomServer
int pickOtherRandomServer(org.apache.hadoop.hbase.master.balancer.BalancerClusterState arg0, int arg1) -
pickOtherRandomRack
int pickOtherRandomRack(org.apache.hadoop.hbase.master.balancer.BalancerClusterState arg0, int arg1) -
getAction
protected org.apache.hadoop.hbase.master.balancer.BalanceAction getAction(int arg0, int arg1, int arg2, int arg3)
-