public class CachingCostBalancerStrategy extends CostBalancerStrategy
| Constructor and Description |
|---|
CachingCostBalancerStrategy(ClusterCostCache clusterCostCache,
com.google.common.util.concurrent.ListeningExecutorService exec) |
| Modifier and Type | Method and Description |
|---|---|
protected double |
computePlacementCost(DataSegment proposalSegment,
ServerHolder server)
Computes the cost of placing a segment on this server.
|
computeJointSegmentsCost, computeJointSegmentsCost, findDestinationServerToMoveSegment, findServersToDropSegment, findServersToLoadSegment, getAndResetStats, intervalCost, intervalCostpublic CachingCostBalancerStrategy(ClusterCostCache clusterCostCache, com.google.common.util.concurrent.ListeningExecutorService exec)
protected double computePlacementCost(DataSegment proposalSegment, ServerHolder server)
CostBalancerStrategycomputePlacementCost in class CostBalancerStrategyCopyright © 2011–2023 The Apache Software Foundation. All rights reserved.