Class SelectiveWorkBalancer


  • public class SelectiveWorkBalancer
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SelectiveWorkBalancer

        public SelectiveWorkBalancer()
    • 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)