static class StochasticLoadBalancer.RegionReplicaRackCandidateGenerator extends StochasticLoadBalancer.RegionReplicaCandidateGenerator
randomGenerator
Constructor and Description |
---|
RegionReplicaRackCandidateGenerator() |
Modifier and Type | Method and Description |
---|---|
(package private) BaseLoadBalancer.Cluster.Action |
generate(BaseLoadBalancer.Cluster cluster) |
selectCoHostedRegionPerGroup
getAction, getRandomIterationOrder, pickOtherRandomRack, pickOtherRandomServer, pickRandomRack, pickRandomRegion, pickRandomRegions, pickRandomServer
RegionReplicaRackCandidateGenerator()
BaseLoadBalancer.Cluster.Action generate(BaseLoadBalancer.Cluster cluster)
generate
in class StochasticLoadBalancer.RegionReplicaCandidateGenerator
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.