public class EvenClusterLoadPlanBrokerRelatedStats extends Object
EvenClusterLoadPlan
.Constructor and Description |
---|
EvenClusterLoadPlanBrokerRelatedStats(List<Integer> brokersExcludedForLeadership,
List<Integer> brokersExcludedForReplicaMove,
List<Integer> newBrokers,
List<Integer> deadOrRemovedBrokers)
Creates an
EvenClusterLoadPlanBrokerRelatedStats object. |
Modifier and Type | Method and Description |
---|---|
List<Integer> |
brokersExcludedForLeadership()
Brokers excluded for assigning replica leadership.
|
List<Integer> |
brokersExcludedForReplicaMove()
Brokers that cannot move replicas in or out of them.
|
List<Integer> |
deadOrRemovedBrokers()
Dead or removed brokers from the cluster.
|
List<Integer> |
newBrokers()
Brokers new to the cluster.
|
public EvenClusterLoadPlanBrokerRelatedStats(List<Integer> brokersExcludedForLeadership, List<Integer> brokersExcludedForReplicaMove, List<Integer> newBrokers, List<Integer> deadOrRemovedBrokers)
EvenClusterLoadPlanBrokerRelatedStats
object.brokersExcludedForLeadership
- brokers that cannot have replica leadershipbrokersExcludedForReplicaMove
- brokers excluded from replica movements to and from the brokernewBrokers
- new brokersdeadOrRemovedBrokers
- dead or removed brokerspublic List<Integer> brokersExcludedForLeadership()
public List<Integer> brokersExcludedForReplicaMove()