Class CacheAwareLoadBalancer.CacheAwareSkewnessCandidateGenerator
java.lang.Object
org.apache.hadoop.hbase.master.balancer.CandidateGenerator
org.apache.hadoop.hbase.master.balancer.LoadCandidateGenerator
org.apache.hadoop.hbase.master.balancer.CacheAwareLoadBalancer.CacheAwareSkewnessCandidateGenerator
- Enclosing class:
- CacheAwareLoadBalancer
private class CacheAwareLoadBalancer.CacheAwareSkewnessCandidateGenerator
extends LoadCandidateGenerator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate int
pickLeastCachedRegion
(BalancerClusterState cluster, int thisServer) (package private) BalanceAction
pickRandomRegions
(BalancerClusterState cluster, int thisServer, int otherServer) Methods inherited from class org.apache.hadoop.hbase.master.balancer.LoadCandidateGenerator
generate
Methods inherited from class org.apache.hadoop.hbase.master.balancer.CandidateGenerator
getAction, pickOtherRandomRack, pickOtherRandomServer, pickRandomRack, pickRandomRegion, pickRandomServer
-
Constructor Details
-
CacheAwareSkewnessCandidateGenerator
private CacheAwareSkewnessCandidateGenerator()
-
-
Method Details
-
pickRandomRegions
- Overrides:
pickRandomRegions
in classCandidateGenerator
-
pickLeastCachedRegion
-