Class RedisPubSubAdapter<K,​V>

    • Constructor Detail

      • RedisPubSubAdapter

        public RedisPubSubAdapter()
    • Method Detail

      • message

        public void message​(K channel,
                            V message)
        Description copied from interface: RedisPubSubListener
        Message received from a channel subscription.
        Specified by:
        message in interface RedisPubSubListener<K,​V>
        Parameters:
        channel - Channel.
        message - Message.
      • message

        public void message​(K pattern,
                            K channel,
                            V message)
        Description copied from interface: RedisPubSubListener
        Message received from a pattern subscription.
        Specified by:
        message in interface RedisPubSubListener<K,​V>
        Parameters:
        pattern - Pattern
        channel - Channel
        message - Message
      • subscribed

        public void subscribed​(K channel,
                               long count)
        Description copied from interface: RedisPubSubListener
        Subscribed to a channel.
        Specified by:
        subscribed in interface RedisPubSubListener<K,​V>
        Parameters:
        channel - Channel
        count - Subscription count.
      • psubscribed

        public void psubscribed​(K pattern,
                                long count)
        Description copied from interface: RedisPubSubListener
        Subscribed to a pattern.
        Specified by:
        psubscribed in interface RedisPubSubListener<K,​V>
        Parameters:
        pattern - Pattern.
        count - Subscription count.
      • unsubscribed

        public void unsubscribed​(K channel,
                                 long count)
        Description copied from interface: RedisPubSubListener
        Unsubscribed from a channel.
        Specified by:
        unsubscribed in interface RedisPubSubListener<K,​V>
        Parameters:
        channel - Channel
        count - Subscription count.
      • punsubscribed

        public void punsubscribed​(K pattern,
                                  long count)
        Description copied from interface: RedisPubSubListener
        Unsubscribed from a pattern.
        Specified by:
        punsubscribed in interface RedisPubSubListener<K,​V>
        Parameters:
        pattern - Channel
        count - Subscription count.