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, pickServersToDropclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpickSegmentsToMovepublic CachingCostBalancerStrategy(ClusterCostCache clusterCostCache, com.google.common.util.concurrent.ListeningExecutorService exec)
protected double computeCost(DataSegment proposalSegment, ServerHolder server, boolean includeCurrentServer)
computeCost in class CostBalancerStrategyCopyright © 2011–2021 The Apache Software Foundation. All rights reserved.