public class DiskNormalizedCostBalancerStrategy extends CostBalancerStrategy
| Constructor and Description |
|---|
DiskNormalizedCostBalancerStrategy(com.google.common.util.concurrent.ListeningExecutorService exec) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
computeCost(org.apache.druid.timeline.DataSegment proposalSegment,
ServerHolder server,
boolean includeCurrentServer)
Averages the cost obtained from CostBalancerStrategy.
|
calculateInitialTotalCost, calculateNormalization, chooseBestServer, computeJointSegmentsCost, emitStats, findNewSegmentHomeBalancer, findNewSegmentHomeReplicator, intervalCost, pickSegmentToMove, pickServersToDroppublic DiskNormalizedCostBalancerStrategy(com.google.common.util.concurrent.ListeningExecutorService exec)
protected double computeCost(org.apache.druid.timeline.DataSegment proposalSegment,
ServerHolder server,
boolean includeCurrentServer)
computeCost in class CostBalancerStrategyCopyright © 2011–2018 The Apache Software Foundation. All rights reserved.