public class OptimizationOptions extends Object
Constructor and Description |
---|
OptimizationOptions(Set<String> excludedTopics)
Default value for
excludedBrokersForLeadership is an empty set. |
OptimizationOptions(Set<String> excludedTopics,
Set<Integer> excludedBrokersForLeadership)
Default value for
excludedBrokersForReplicaMove is an empty set. |
OptimizationOptions(Set<String> excludedTopics,
Set<Integer> excludedBrokersForLeadership,
Set<Integer> excludedBrokersForReplicaMove)
Default value for
isTriggeredByGoalViolation is false. |
OptimizationOptions(Set<String> excludedTopics,
Set<Integer> excludedBrokersForLeadership,
Set<Integer> excludedBrokersForReplicaMove,
boolean isTriggeredByGoalViolation)
Default value for
requestedDestinationBrokerIds is an empty set. |
OptimizationOptions(Set<String> excludedTopics,
Set<Integer> excludedBrokersForLeadership,
Set<Integer> excludedBrokersForReplicaMove,
boolean isTriggeredByGoalViolation,
Set<Integer> requestedDestinationBrokerIds)
Default value for
onlyMoveImmigrantReplicas is false. |
OptimizationOptions(Set<String> excludedTopics,
Set<Integer> excludedBrokersForLeadership,
Set<Integer> excludedBrokersForReplicaMove,
boolean isTriggeredByGoalViolation,
Set<Integer> requestedDestinationBrokerIds,
boolean onlyMoveImmigrantReplicas) |
Modifier and Type | Method and Description |
---|---|
Set<Integer> |
excludedBrokersForLeadership() |
Set<Integer> |
excludedBrokersForReplicaMove() |
Set<String> |
excludedTopics() |
boolean |
isTriggeredByGoalViolation() |
boolean |
onlyMoveImmigrantReplicas() |
Set<Integer> |
requestedDestinationBrokerIds() |
String |
toString() |
public OptimizationOptions(Set<String> excludedTopics)
excludedBrokersForLeadership
is an empty set.public OptimizationOptions(Set<String> excludedTopics, Set<Integer> excludedBrokersForLeadership)
excludedBrokersForReplicaMove
is an empty set.public OptimizationOptions(Set<String> excludedTopics, Set<Integer> excludedBrokersForLeadership, Set<Integer> excludedBrokersForReplicaMove)
isTriggeredByGoalViolation
is false.public OptimizationOptions(Set<String> excludedTopics, Set<Integer> excludedBrokersForLeadership, Set<Integer> excludedBrokersForReplicaMove, boolean isTriggeredByGoalViolation)
requestedDestinationBrokerIds
is an empty set.public OptimizationOptions(Set<String> excludedTopics, Set<Integer> excludedBrokersForLeadership, Set<Integer> excludedBrokersForReplicaMove, boolean isTriggeredByGoalViolation, Set<Integer> requestedDestinationBrokerIds)
onlyMoveImmigrantReplicas
is false.