private class CacheAwareLoadBalancer.CacheAwareSkewnessCandidateGenerator extends LoadCandidateGenerator
Modifier | Constructor and Description |
---|---|
private |
CacheAwareSkewnessCandidateGenerator() |
Modifier and Type | Method and Description |
---|---|
private int |
pickLeastCachedRegion(BalancerClusterState cluster,
int thisServer) |
(package private) BalanceAction |
pickRandomRegions(BalancerClusterState cluster,
int thisServer,
int otherServer) |
generate
getAction, pickOtherRandomRack, pickOtherRandomServer, pickRandomRack, pickRandomRegion, pickRandomServer
private CacheAwareSkewnessCandidateGenerator()
BalanceAction pickRandomRegions(BalancerClusterState cluster, int thisServer, int otherServer)
pickRandomRegions
in class CandidateGenerator
private int pickLeastCachedRegion(BalancerClusterState cluster, int thisServer)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.