Interface PubSubCommands.RedisSubscriber

Enclosing interface:
PubSubCommands<V>

public static interface PubSubCommands.RedisSubscriber
A redis subscriber
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Unsubscribes from all the subscribed channels/patterns
    void
    unsubscribe(String... channels)
    Unsubscribes from the given channels/patterns
  • Method Details

    • unsubscribe

      void unsubscribe(String... channels)
      Unsubscribes from the given channels/patterns
      Parameters:
      channels - the channels or patterns
    • unsubscribe

      void unsubscribe()
      Unsubscribes from all the subscribed channels/patterns