Class TestStochasticLoadBalancerHeterogeneousCost.FairRandomCandidateGenerator

java.lang.Object
org.apache.hadoop.hbase.master.balancer.TestStochasticLoadBalancerHeterogeneousCost.FairRandomCandidateGenerator
Enclosing class:
TestStochasticLoadBalancerHeterogeneousCost

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    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)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • 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

      public String toString()
      Overrides:
      toString in class Object
    • 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)