@InterfaceAudience.Public @InterfaceStability.Evolving public final class BalancerDecision extends LogEntry
Modifier and Type | Class and Description |
---|---|
static class |
BalancerDecision.Builder |
Modifier and Type | Field and Description |
---|---|
private long |
computedSteps |
private double |
computedTotalCost |
private String |
finalFunctionCosts |
private static org.apache.hbase.thirdparty.com.google.gson.Gson |
GSON |
private String |
initialFunctionCosts |
private double |
initTotalCost |
private List<String> |
regionPlans |
Modifier | Constructor and Description |
---|---|
private |
BalancerDecision(String initialFunctionCosts,
String finalFunctionCosts,
double initTotalCost,
double computedTotalCost,
List<String> regionPlans,
long computedSteps) |
Modifier and Type | Method and Description |
---|---|
long |
getComputedSteps() |
double |
getComputedTotalCost() |
String |
getFinalFunctionCosts() |
String |
getInitialFunctionCosts() |
double |
getInitTotalCost() |
List<String> |
getRegionPlans() |
String |
toJsonPrettyPrint()
Based on response sent by server, provide pretty printed Json representation in string
|
String |
toString() |
private final String initialFunctionCosts
private final String finalFunctionCosts
private final double initTotalCost
private final double computedTotalCost
private final long computedSteps
private final List<String> regionPlans
private static final org.apache.hbase.thirdparty.com.google.gson.Gson GSON
private BalancerDecision(String initialFunctionCosts, String finalFunctionCosts, double initTotalCost, double computedTotalCost, List<String> regionPlans, long computedSteps)
public String getInitialFunctionCosts()
public String getFinalFunctionCosts()
public double getInitTotalCost()
public double getComputedTotalCost()
public List<String> getRegionPlans()
public long getComputedSteps()
public String toJsonPrettyPrint()
LogEntry
toJsonPrettyPrint
in class LogEntry
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.