public class SubscriptionAssignmentRegistry extends pl.allegro.tech.hermes.common.cache.zookeeper.StartableCache<SubscriptionAssignmentAware> implements org.apache.curator.framework.recipes.cache.PathChildrenCacheListener
| Constructor and Description |
|---|
SubscriptionAssignmentRegistry(org.apache.curator.framework.CuratorFramework curatorClient,
java.lang.String path,
java.util.concurrent.ExecutorService executorService,
pl.allegro.tech.hermes.domain.subscription.SubscriptionRepository subscriptionRepository,
java.lang.String consumerNodeId,
SubscriptionAssignmentPathSerializer pathSerializer) |
| Modifier and Type | Method and Description |
|---|---|
void |
childEvent(org.apache.curator.framework.CuratorFramework client,
org.apache.curator.framework.recipes.cache.PathChildrenCacheEvent event) |
public SubscriptionAssignmentRegistry(org.apache.curator.framework.CuratorFramework curatorClient,
java.lang.String path,
java.util.concurrent.ExecutorService executorService,
pl.allegro.tech.hermes.domain.subscription.SubscriptionRepository subscriptionRepository,
java.lang.String consumerNodeId,
SubscriptionAssignmentPathSerializer pathSerializer)
public void childEvent(org.apache.curator.framework.CuratorFramework client,
org.apache.curator.framework.recipes.cache.PathChildrenCacheEvent event)
throws java.lang.Exception
childEvent in interface org.apache.curator.framework.recipes.cache.PathChildrenCacheListenerjava.lang.Exception