Interface ConsumersSupervisor
-
- All Known Implementing Classes:
NonblockingConsumersSupervisor
public interface ConsumersSupervisor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidassignConsumerForSubscription(pl.allegro.tech.hermes.api.Subscription subscription)voiddeleteConsumerForSubscriptionName(pl.allegro.tech.hermes.api.SubscriptionName subscription)voidretransmit(pl.allegro.tech.hermes.api.SubscriptionName subscription)java.util.Set<pl.allegro.tech.hermes.api.SubscriptionName>runningConsumers()voidshutdown()voidstart()voidupdateSubscription(pl.allegro.tech.hermes.api.Subscription subscription)voidupdateTopic(pl.allegro.tech.hermes.api.Subscription subscription, pl.allegro.tech.hermes.api.Topic topic)
-
-
-
Method Detail
-
assignConsumerForSubscription
void assignConsumerForSubscription(pl.allegro.tech.hermes.api.Subscription subscription)
-
deleteConsumerForSubscriptionName
void deleteConsumerForSubscriptionName(pl.allegro.tech.hermes.api.SubscriptionName subscription)
-
updateSubscription
void updateSubscription(pl.allegro.tech.hermes.api.Subscription subscription)
-
updateTopic
void updateTopic(pl.allegro.tech.hermes.api.Subscription subscription, pl.allegro.tech.hermes.api.Topic topic)
-
shutdown
void shutdown() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
retransmit
void retransmit(pl.allegro.tech.hermes.api.SubscriptionName subscription) throws java.lang.Exception- Throws:
java.lang.Exception
-
runningConsumers
java.util.Set<pl.allegro.tech.hermes.api.SubscriptionName> runningConsumers()
-
start
void start() throws java.lang.Exception- Throws:
java.lang.Exception
-
-