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.