public class WRRPlacementStrategy extends Object implements PlacementStrategy
| Constructor and Description |
|---|
WRRPlacementStrategy() |
| Modifier and Type | Method and Description |
|---|---|
ResourceUnit |
findBrokerForPlacement(com.google.common.collect.Multimap<Long,ResourceUnit> finalCandidates)
Function : getByWeightedRoundRobin returns ResourceUnit selected by WRR algorithm
based on available resource on RU.
|
public ResourceUnit findBrokerForPlacement(com.google.common.collect.Multimap<Long,ResourceUnit> finalCandidates)
findBrokerForPlacement in interface PlacementStrategyCopyright © 2017–2022 Apache Software Foundation. All rights reserved.