public static class BalancerDecision.Builder extends Object
Modifier and Type | Field and Description |
---|---|
private long |
computedSteps |
private double |
computedTotalCost |
private String |
finalFunctionCosts |
private String |
initialFunctionCosts |
private double |
initTotalCost |
private List<String> |
regionPlans |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BalancerDecision |
build() |
BalancerDecision.Builder |
setComputedSteps(long computedSteps) |
BalancerDecision.Builder |
setComputedTotalCost(double computedTotalCost) |
BalancerDecision.Builder |
setFinalFunctionCosts(String finalFunctionCosts) |
BalancerDecision.Builder |
setInitialFunctionCosts(String initialFunctionCosts) |
BalancerDecision.Builder |
setInitTotalCost(double initTotalCost) |
BalancerDecision.Builder |
setRegionPlans(List<String> regionPlans) |
private String initialFunctionCosts
private String finalFunctionCosts
private double initTotalCost
private double computedTotalCost
private long computedSteps
private List<String> regionPlans
public Builder()
public BalancerDecision.Builder setInitialFunctionCosts(String initialFunctionCosts)
public BalancerDecision.Builder setFinalFunctionCosts(String finalFunctionCosts)
public BalancerDecision.Builder setInitTotalCost(double initTotalCost)
public BalancerDecision.Builder setComputedTotalCost(double computedTotalCost)
public BalancerDecision.Builder setRegionPlans(List<String> regionPlans)
public BalancerDecision.Builder setComputedSteps(long computedSteps)
public BalancerDecision build()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.