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