Interface PubSubCommands.RedisSubscriber
- Enclosing interface:
- PubSubCommands<V>
public static interface PubSubCommands.RedisSubscriber
A redis subscriber
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Unsubscribes from all the subscribed channels/patternsvoid
unsubscribe
(String... channels) Unsubscribes from the given channels/patterns
-
Method Details
-
unsubscribe
Unsubscribes from the given channels/patterns- Parameters:
channels
- the channels or patterns
-
unsubscribe
void unsubscribe()Unsubscribes from all the subscribed channels/patterns
-