@InterfaceAudience.Private class RegionReplicaRackCandidateGenerator extends RegionReplicaCandidateGenerator
randomGenerator
Constructor and Description |
---|
RegionReplicaRackCandidateGenerator() |
Modifier and Type | Method and Description |
---|---|
(package private) BalanceAction |
generate(BalancerClusterState cluster) |
selectCoHostedRegionPerGroup
getAction, pickOtherRandomRack, pickOtherRandomServer, pickRandomRack, pickRandomRegion, pickRandomRegions, pickRandomServer
RegionReplicaRackCandidateGenerator()
BalanceAction generate(BalancerClusterState cluster)
generate
in class RegionReplicaCandidateGenerator
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.