Class ZookeeperSubscriptionProfileRegistry

java.lang.Object
pl.allegro.tech.hermes.consumers.supervisor.workload.weighted.ZookeeperSubscriptionProfileRegistry
All Implemented Interfaces:
SubscriptionProfileRegistry

public class ZookeeperSubscriptionProfileRegistry extends Object implements SubscriptionProfileRegistry
  • Constructor Summary

    Constructors
    Constructor
    Description
    ZookeeperSubscriptionProfileRegistry(org.apache.curator.framework.CuratorFramework curator, SubscriptionIds subscriptionIds, pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths zookeeperPaths, String clusterName, int subscriptionProfilesEncoderBufferSizeBytes)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    pl.allegro.tech.hermes.consumers.supervisor.workload.weighted.SubscriptionProfiles
     
    void
    persist(pl.allegro.tech.hermes.consumers.supervisor.workload.weighted.SubscriptionProfiles profiles)
     

    Methods inherited from class java.lang.Object

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

    • ZookeeperSubscriptionProfileRegistry

      public ZookeeperSubscriptionProfileRegistry(org.apache.curator.framework.CuratorFramework curator, SubscriptionIds subscriptionIds, pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths zookeeperPaths, String clusterName, int subscriptionProfilesEncoderBufferSizeBytes)
  • Method Details

    • fetch

      public pl.allegro.tech.hermes.consumers.supervisor.workload.weighted.SubscriptionProfiles fetch()
      Specified by:
      fetch in interface SubscriptionProfileRegistry
    • persist

      public void persist(pl.allegro.tech.hermes.consumers.supervisor.workload.weighted.SubscriptionProfiles profiles)
      Specified by:
      persist in interface SubscriptionProfileRegistry