Class CachingCostBalancerStrategy
- java.lang.Object
-
- org.apache.druid.server.coordinator.balancer.CostBalancerStrategy
-
- org.apache.druid.server.coordinator.balancer.CachingCostBalancerStrategy
-
- All Implemented Interfaces:
BalancerStrategy
@Deprecated public class CachingCostBalancerStrategy extends CostBalancerStrategy
Deprecated.This is currently being used only in tests for benchmarking purposes and will be removed in future releases.
-
-
Constructor Summary
Constructors Constructor Description CachingCostBalancerStrategy(ClusterCostCache clusterCostCache, com.google.common.util.concurrent.ListeningExecutorService exec)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected doublecomputePlacementCost(org.apache.druid.timeline.DataSegment proposalSegment, ServerHolder server)Deprecated.Computes the cost of placing a segment on this server.-
Methods inherited from class org.apache.druid.server.coordinator.balancer.CostBalancerStrategy
computeJointSegmentsCost, computeJointSegmentsCost, findDestinationServerToMoveSegment, findServersToDropSegment, findServersToLoadSegment, getStats, intervalCost, intervalCost
-
-
-
-
Constructor Detail
-
CachingCostBalancerStrategy
public CachingCostBalancerStrategy(ClusterCostCache clusterCostCache, com.google.common.util.concurrent.ListeningExecutorService exec)
Deprecated.
-
-
Method Detail
-
computePlacementCost
protected double computePlacementCost(org.apache.druid.timeline.DataSegment proposalSegment, ServerHolder server)Deprecated.Description copied from class:CostBalancerStrategyComputes the cost of placing a segment on this server.- Overrides:
computePlacementCostin classCostBalancerStrategy
-
-