public interface ConsumerAssignmentCache
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<pl.allegro.tech.hermes.api.SubscriptionName> |
getConsumerSubscriptions() |
boolean |
isAssignedTo(pl.allegro.tech.hermes.api.SubscriptionName subscription) |
boolean |
isStarted() |
void |
registerAssignmentCallback(SubscriptionAssignmentAware callback) |
void |
start() |
void |
stop() |
void start()
throws java.lang.Exception
java.lang.Exceptionvoid stop() throws java.lang.Exception
java.lang.Exceptionboolean isStarted()
boolean isAssignedTo(pl.allegro.tech.hermes.api.SubscriptionName subscription)
void registerAssignmentCallback(SubscriptionAssignmentAware callback)
java.util.Set<pl.allegro.tech.hermes.api.SubscriptionName> getConsumerSubscriptions()