Class SelectiveWorkBalancer
- java.lang.Object
-
- pl.allegro.tech.hermes.consumers.supervisor.workload.selective.SelectiveWorkBalancer
-
public class SelectiveWorkBalancer extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SelectiveWorkBalancer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkBalancingResultbalance(java.util.List<pl.allegro.tech.hermes.api.SubscriptionName> subscriptions, java.util.List<java.lang.String> activeConsumerNodes, SubscriptionAssignmentView currentState, pl.allegro.tech.hermes.domain.workload.constraints.WorkloadConstraints constraints)
-
-
-
Method Detail
-
balance
public WorkBalancingResult balance(java.util.List<pl.allegro.tech.hermes.api.SubscriptionName> subscriptions, java.util.List<java.lang.String> activeConsumerNodes, SubscriptionAssignmentView currentState, pl.allegro.tech.hermes.domain.workload.constraints.WorkloadConstraints constraints)
-
-