public class MaxRateRegistryFactory extends java.lang.Object implements org.glassfish.hk2.api.Factory<MaxRateRegistry>
| Constructor and Description |
|---|
MaxRateRegistryFactory(pl.allegro.tech.hermes.common.config.ConfigFactory configFactory,
org.apache.curator.framework.CuratorFramework curator,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths zookeeperPaths,
MaxRatePathSerializer pathSerializer,
SubscriptionsCache subscriptionCache,
SubscriptionIds subscriptionIds,
ConsumerAssignmentCache assignmentCache,
ClusterAssignmentCache clusterAssignmentCache) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose(MaxRateRegistry instance) |
MaxRateRegistry |
provide() |
@Inject
public MaxRateRegistryFactory(pl.allegro.tech.hermes.common.config.ConfigFactory configFactory,
org.apache.curator.framework.CuratorFramework curator,
com.fasterxml.jackson.databind.ObjectMapper objectMapper,
pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths zookeeperPaths,
MaxRatePathSerializer pathSerializer,
SubscriptionsCache subscriptionCache,
SubscriptionIds subscriptionIds,
ConsumerAssignmentCache assignmentCache,
ClusterAssignmentCache clusterAssignmentCache)
public MaxRateRegistry provide()
provide in interface org.glassfish.hk2.api.Factory<MaxRateRegistry>public void dispose(MaxRateRegistry instance)
dispose in interface org.glassfish.hk2.api.Factory<MaxRateRegistry>