Interface RedisPubSubCommands<K,​V>

    • Method Detail

      • psubscribe

        void psubscribe​(K... patterns)
        Listen for messages published to channels matching the given patterns.
        Parameters:
        patterns - the patterns
      • punsubscribe

        void punsubscribe​(K... patterns)
        Stop listening for messages posted to channels matching the given patterns.
        Parameters:
        patterns - the patterns
      • subscribe

        void subscribe​(K... channels)
        Listen for messages published to the given channels.
        Parameters:
        channels - the channels
      • unsubscribe

        void unsubscribe​(K... channels)
        Stop listening for messages posted to the given channels.
        Parameters:
        channels - the channels