public static class BalancerRejection.Builder extends Object
Modifier and Type | Field and Description |
---|---|
private List<String> |
costFuncInfoList |
private String |
reason |
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
void |
addCostFuncInfo(String funcName,
double cost,
float multiplier) |
BalancerRejection |
build() |
BalancerRejection.Builder |
setCostFuncInfoList(List<String> costFuncInfoList) |
BalancerRejection.Builder |
setReason(String reason) |
private List<String> costFuncInfoList
public Builder()
public BalancerRejection.Builder setReason(String reason)
public void addCostFuncInfo(String funcName, double cost, float multiplier)
public BalancerRejection.Builder setCostFuncInfoList(List<String> costFuncInfoList)
public BalancerRejection build()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.