Interface ConsumerAssignmentCache
-
- All Known Implementing Classes:
FlatBinaryConsumerAssignmentCache,HierarchicalConsumerAssignmentCache
public interface ConsumerAssignmentCache
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<pl.allegro.tech.hermes.api.SubscriptionName>getConsumerSubscriptions()booleanisAssignedTo(pl.allegro.tech.hermes.api.SubscriptionName subscription)booleanisStarted()voidregisterAssignmentCallback(SubscriptionAssignmentAware callback)voidstart()voidstop()
-
-
-
Method Detail
-
start
void start() throws java.lang.Exception- Throws:
java.lang.Exception
-
stop
void stop() throws java.lang.Exception
- Throws:
java.lang.Exception
-
isStarted
boolean isStarted()
-
isAssignedTo
boolean isAssignedTo(pl.allegro.tech.hermes.api.SubscriptionName subscription)
-
registerAssignmentCallback
void registerAssignmentCallback(SubscriptionAssignmentAware callback)
-
getConsumerSubscriptions
java.util.Set<pl.allegro.tech.hermes.api.SubscriptionName> getConsumerSubscriptions()
-
-