Package org.apache.kafka.clients.admin
Class EvenClusterLoadPlanGoalStats
java.lang.Object
org.apache.kafka.clients.admin.EvenClusterLoadPlanGoalStats
Holds SBC goal-specific information about the current average, maximum, and minimum resource
cluster utilization statistics. There's also information about the standard deviation and
a goal overview.
-
Constructor Summary
ConstructorsConstructorDescriptionEvenClusterLoadPlanGoalStats
(String goalName, EvenClusterLoadPlanGoalStatsResources avgResources, EvenClusterLoadPlanGoalStatsResources maxResources, EvenClusterLoadPlanGoalStatsResources minResources, EvenClusterLoadPlanGoalStatsResources stdResources, EvenClusterLoadPlanGoalStatsOverview overview) Creates anEvenClusterLoadPlanGoalStats
object. -
Method Summary
Modifier and TypeMethodDescriptionCluster-wide statistics for average resource usages.goalName()
The name of the goal.Post SBC goal optimization statistics for the goal.Cluster-wide statistics for maximum resource usages.Cluster-wide statistics for minimum resource usages.Creates and retrieves the printable string form.Cluster-wide standard deviation statistics for resource usages.toString()
-
Constructor Details
-
EvenClusterLoadPlanGoalStats
public EvenClusterLoadPlanGoalStats(String goalName, EvenClusterLoadPlanGoalStatsResources avgResources, EvenClusterLoadPlanGoalStatsResources maxResources, EvenClusterLoadPlanGoalStatsResources minResources, EvenClusterLoadPlanGoalStatsResources stdResources, EvenClusterLoadPlanGoalStatsOverview overview) Creates anEvenClusterLoadPlanGoalStats
object.- Parameters:
goalName
- name of the goalavgResources
- average cluster resource usages upon the optimization of this goalmaxResources
- maximum cluster resource usages upon the optimization of this goalminResources
- minimum cluster resource usages upon the optimization of this goalstdResources
- standard deviation of cluster resource usage upon the optimization of this goaloverview
- additional details related to this goal
-
-
Method Details
-
goalName
The name of the goal.- Returns:
- goal name
-
avgResources
Cluster-wide statistics for average resource usages.- Returns:
- statistics
-
maxResources
Cluster-wide statistics for maximum resource usages.- Returns:
- statistics
-
minResources
Cluster-wide statistics for minimum resource usages.- Returns:
- statistics
-
stdResources
Cluster-wide standard deviation statistics for resource usages.- Returns:
- statistics
-
goalOverview
Post SBC goal optimization statistics for the goal.- Returns:
- statistics
-
printableForm
Creates and retrieves the printable string form.- Returns:
- printable string format
-
toString
-