public class DiskNormalizedCostBalancerStrategy extends CostBalancerStrategy
| Constructor and Description |
|---|
DiskNormalizedCostBalancerStrategy(com.google.common.util.concurrent.ListeningExecutorService exec) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
computePlacementCost(DataSegment proposalSegment,
ServerHolder server)
Averages the cost obtained from CostBalancerStrategy.
|
computeJointSegmentsCost, computeJointSegmentsCost, findDestinationServerToMoveSegment, findServersToDropSegment, findServersToLoadSegment, getAndResetStats, intervalCost, intervalCostpublic DiskNormalizedCostBalancerStrategy(com.google.common.util.concurrent.ListeningExecutorService exec)
protected double computePlacementCost(DataSegment proposalSegment, ServerHolder server)
computePlacementCost in class CostBalancerStrategyCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.