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 |
computeCost(DataSegment proposalSegment,
ServerHolder server,
boolean includeCurrentServer) |
calculateInitialTotalCost, calculateNormalization, chooseBestServer, computeJointSegmentsCost, emitStats, findNewSegmentHomeBalancer, findNewSegmentHomeReplicator, intervalCost, pickSegmentToMovepublic CachingCostBalancerStrategy(ClusterCostCache clusterCostCache, com.google.common.util.concurrent.ListeningExecutorService exec)
protected double computeCost(DataSegment proposalSegment, ServerHolder server, boolean includeCurrentServer)
computeCost in class CostBalancerStrategyCopyright © 2011–2018. All rights reserved.