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,
List<String> selfHealingGoals,
List<String> detectionGoals) |
Modifier and Type | Method and Description |
---|---|
String |
anomalyId() |
boolean |
fix()
Fix the anomaly with the system.
|
String |
toString() |
Map<Boolean,List<GoalViolations.GoalResult>> |
violatedGoalsByFixability()
Get all the goal violations.
|
protected OptimizationResult optimizationResult
public GoalViolations(KafkaCruiseControl kafkaCruiseControl, boolean allowCapacityEstimation, boolean excludeRecentlyDemotedBrokers, boolean excludeRecentlyRemovedBrokers, List<String> selfHealingGoals, List<String> detectionGoals)
public Map<Boolean,List<GoalViolations.GoalResult>> violatedGoalsByFixability()
public String anomalyId()
public boolean fix() throws KafkaCruiseControlException
Anomaly
KafkaCruiseControlException
public String toString()