Package org.apache.kafka.clients.admin
Class EvenClusterLoadPlanGoalRelatedStats
java.lang.Object
org.apache.kafka.clients.admin.EvenClusterLoadPlanGoalRelatedStats
Goals-related statistics class used in the construction of
EvenClusterLoadPlan.Constructor Summary
ConstructorsConstructorDescriptionEvenClusterLoadPlanGoalRelatedStats(List<String> movementGeneratingGoals, List<EvenClusterLoadPlanGoalStats> goalStats, List<String> violatedGoalsBeforeOptimization, List<String> violatedGoalsAfterOptimization) Creates anEvenClusterLoadPlanGoalRelatedStatsobject.Method Summary
Modifier and TypeMethodDescriptionGoal statistics for all goals.Goals that generate replica movements.Violated goals after cluster rebalancing.Violated goals before cluster rebalancing.
Constructor Details
EvenClusterLoadPlanGoalRelatedStats
public EvenClusterLoadPlanGoalRelatedStats(List<String> movementGeneratingGoals, List<EvenClusterLoadPlanGoalStats> goalStats, List<String> violatedGoalsBeforeOptimization, List<String> violatedGoalsAfterOptimization) Creates anEvenClusterLoadPlanGoalRelatedStatsobject.- Parameters:
movementGeneratingGoals- goals that generate replica movementsgoalStats- goal statisticsviolatedGoalsBeforeOptimization- violated goals before cluster rebalanceviolatedGoalsAfterOptimization- violated goals after cluster rebalance
Method Details
movementGeneratingGoals
Goals that generate replica movements.- Returns:
- movement generating goals
goalStats
Goal statistics for all goals.- Returns:
- goal statistics
violatedGoalsBeforeOptimization
Violated goals before cluster rebalancing.- Returns:
- violated goals before optimization
violatedGoalsAfterOptimization
Violated goals after cluster rebalancing.- Returns:
- violated goals after optimization