public class GoalViolations
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GoalViolations.GoalResult |
Modifier and Type | Field and Description |
---|---|
protected OptimizationResult |
_optimizationResult |
Constructor and Description |
---|
GoalViolations(KafkaCruiseControl kafkaCruiseControl,
boolean allowCapacityEstimation,
boolean excludeRecentlyDemotedBrokers,
boolean excludeRecentlyRemovedBrokers,
java.util.List<java.lang.String> selfHealingGoals,
java.util.List<java.lang.String> detectionGoals) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
anomalyId() |
boolean |
fix()
Fix the anomaly with the system.
|
java.lang.String |
toString() |
java.util.Map<java.lang.Boolean,java.util.List<GoalViolations.GoalResult>> |
violatedGoalsByFixability()
Get all the goal violations.
|
protected OptimizationResult _optimizationResult
public GoalViolations(KafkaCruiseControl kafkaCruiseControl, boolean allowCapacityEstimation, boolean excludeRecentlyDemotedBrokers, boolean excludeRecentlyRemovedBrokers, java.util.List<java.lang.String> selfHealingGoals, java.util.List<java.lang.String> detectionGoals)
public java.util.Map<java.lang.Boolean,java.util.List<GoalViolations.GoalResult>> violatedGoalsByFixability()
public java.lang.String anomalyId()
public boolean fix() throws KafkaCruiseControlException
Anomaly
KafkaCruiseControlException
public java.lang.String toString()