public class ZookeeperSubscriptionsCacheFactory extends java.lang.Object implements org.glassfish.hk2.api.Factory<SubscriptionsCache>
| Constructor and Description |
|---|
ZookeeperSubscriptionsCacheFactory(org.apache.curator.framework.CuratorFramework curatorClient,
pl.allegro.tech.hermes.common.config.ConfigFactory configFactory,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose(SubscriptionsCache instance) |
SubscriptionsCache |
provide() |
@Inject
public ZookeeperSubscriptionsCacheFactory(@Named(value="hermesCurator")
org.apache.curator.framework.CuratorFramework curatorClient,
pl.allegro.tech.hermes.common.config.ConfigFactory configFactory,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public SubscriptionsCache provide()
provide in interface org.glassfish.hk2.api.Factory<SubscriptionsCache>public void dispose(SubscriptionsCache instance)
dispose in interface org.glassfish.hk2.api.Factory<SubscriptionsCache>