Interface PubSubState<T extends BaseSubscriptionConfiguration.ChannelMode>

  • Type Parameters:
    T - The channel mode type (e.g., PubSubChannelMode or PubSubClusterChannelMode)
    All Known Implementing Classes:
    PubSubStateImpl

    public interface PubSubState<T extends BaseSubscriptionConfiguration.ChannelMode>
    Represents the subscription state for a pubsub client.
    • Method Detail

      • getDesiredSubscriptions

        java.util.Map<T,​java.util.Set<java.lang.String>> getDesiredSubscriptions()
        Gets the desired subscription state.
        Returns:
        Map of channel modes to their subscribed channels
      • getActualSubscriptions

        java.util.Map<T,​java.util.Set<java.lang.String>> getActualSubscriptions()
        Gets the actual subscription state.
        Returns:
        Map of channel modes to their subscribed channels