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, pickSegmentToMove
public CachingCostBalancerStrategy(ClusterCostCache clusterCostCache, com.google.common.util.concurrent.ListeningExecutorService exec)
protected double computeCost(DataSegment proposalSegment, ServerHolder server, boolean includeCurrentServer)
computeCost
in class CostBalancerStrategy
Copyright © 2011–2018. All rights reserved.