Package org.apache.hadoop.hbase.client
Class BalancerDecision
java.lang.Object
org.apache.hadoop.hbase.client.LogEntry
org.apache.hadoop.hbase.client.BalancerDecision
History of balancer decisions taken for region movements.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprivate
BalancerDecision
(String initialFunctionCosts, String finalFunctionCosts, double initTotalCost, double computedTotalCost, List<String> regionPlans, long computedSteps) -
Method Summary
Modifier and TypeMethodDescriptionlong
double
double
Based on response sent by server, provide pretty printed Json representation in stringtoString()
-
Field Details
-
initialFunctionCosts
-
finalFunctionCosts
-
initTotalCost
-
computedTotalCost
-
computedSteps
-
regionPlans
-
GSON
-
-
Constructor Details
-
BalancerDecision
private BalancerDecision(String initialFunctionCosts, String finalFunctionCosts, double initTotalCost, double computedTotalCost, List<String> regionPlans, long computedSteps)
-
-
Method Details
-
getInitialFunctionCosts
-
getFinalFunctionCosts
-
getInitTotalCost
-
getComputedTotalCost
-
getRegionPlans
-
getComputedSteps
-
toString
-
toJsonPrettyPrint
Description copied from class:LogEntry
Based on response sent by server, provide pretty printed Json representation in string- Specified by:
toJsonPrettyPrint
in classLogEntry
- Returns:
- Pretty printed Json representation
-