public class ConsumerAssignmentRegistryFactory extends java.lang.Object implements org.glassfish.hk2.api.Factory<ConsumerAssignmentRegistry>
| Constructor and Description |
|---|
ConsumerAssignmentRegistryFactory(org.apache.curator.framework.CuratorFramework curator,
pl.allegro.tech.hermes.common.config.ConfigFactory configFactory,
pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths zookeeperPaths,
ConsumerAssignmentCache consumerAssignmentCache,
SubscriptionIds subscriptionIds) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose(ConsumerAssignmentRegistry instance) |
ConsumerAssignmentRegistry |
provide() |
@Inject
public ConsumerAssignmentRegistryFactory(org.apache.curator.framework.CuratorFramework curator,
pl.allegro.tech.hermes.common.config.ConfigFactory configFactory,
pl.allegro.tech.hermes.infrastructure.zookeeper.ZookeeperPaths zookeeperPaths,
ConsumerAssignmentCache consumerAssignmentCache,
SubscriptionIds subscriptionIds)
public ConsumerAssignmentRegistry provide()
provide in interface org.glassfish.hk2.api.Factory<ConsumerAssignmentRegistry>public void dispose(ConsumerAssignmentRegistry instance)
dispose in interface org.glassfish.hk2.api.Factory<ConsumerAssignmentRegistry>