Class MaxRateSupervisor

  • All Implemented Interfaces:
    java.lang.Runnable

    public class MaxRateSupervisor
    extends java.lang.Object
    implements java.lang.Runnable
    • Constructor Detail

      • MaxRateSupervisor

        public MaxRateSupervisor​(pl.allegro.tech.hermes.common.config.ConfigFactory configFactory,
                                 ClusterAssignmentCache clusterAssignmentCache,
                                 MaxRateRegistry maxRateRegistry,
                                 ConsumerNodesRegistry consumerNodesRegistry,
                                 SubscriptionsCache subscriptionsCache,
                                 pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths zookeeperPaths,
                                 pl.allegro.tech.hermes.common.metric.HermesMetrics metrics,
                                 java.time.Clock clock)
    • Method Detail

      • start

        public void start()
                   throws java.lang.Exception
        Throws:
        java.lang.Exception
      • stop

        public void stop()
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable