Class CachingCostBalancerStrategy
java.lang.Object
org.apache.druid.server.coordinator.balancer.CostBalancerStrategy
org.apache.druid.server.coordinator.balancer.CachingCostBalancerStrategy
- All Implemented Interfaces:
BalancerStrategy
Deprecated.
This is currently being used only in tests for benchmarking purposes
and will be removed in future releases.
-
Constructor Summary
ConstructorsConstructorDescriptionCachingCostBalancerStrategy(ClusterCostCache clusterCostCache, com.google.common.util.concurrent.ListeningExecutorService exec) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected doublecomputePlacementCost(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 Details
-
CachingCostBalancerStrategy
public CachingCostBalancerStrategy(ClusterCostCache clusterCostCache, com.google.common.util.concurrent.ListeningExecutorService exec) Deprecated.
-
-
Method Details
-
computePlacementCost
Deprecated.Description copied from class:CostBalancerStrategyComputes the cost of placing a segment on this server.- Overrides:
computePlacementCostin classCostBalancerStrategy
-