Interface ClusterAssignmentCache

    • Method Detail

      • isReady

        boolean isReady()
      • refresh

        void refresh()
      • isAssignedTo

        boolean isAssignedTo​(java.lang.String nodeId,
                             pl.allegro.tech.hermes.api.SubscriptionName subscription)
      • getSubscriptionConsumers

        java.util.Map<pl.allegro.tech.hermes.api.SubscriptionName,​java.util.Set<java.lang.String>> getSubscriptionConsumers()
      • getAssignedConsumers

        java.util.Set<java.lang.String> getAssignedConsumers()
      • getConsumerSubscriptions

        java.util.Set<pl.allegro.tech.hermes.api.SubscriptionName> getConsumerSubscriptions​(java.lang.String nodeId)