public class DiskNormalizedCostBalancerStrategy extends CostBalancerStrategy
Constructor and Description |
---|
DiskNormalizedCostBalancerStrategy(com.google.common.util.concurrent.ListeningExecutorService exec) |
Modifier and Type | Method and Description |
---|---|
protected double |
computeCost(DataSegment proposalSegment,
ServerHolder server,
boolean includeCurrentServer)
Averages the cost obtained from CostBalancerStrategy.
|
calculateInitialTotalCost, calculateNormalization, chooseBestServer, computeJointSegmentsCost, emitStats, findNewSegmentHomeBalancer, findNewSegmentHomeReplicator, intervalCost, pickSegmentToMove
public DiskNormalizedCostBalancerStrategy(com.google.common.util.concurrent.ListeningExecutorService exec)
protected double computeCost(DataSegment proposalSegment, ServerHolder server, boolean includeCurrentServer)
computeCost
in class CostBalancerStrategy
Copyright © 2011–2017. All rights reserved.