public interface NodeSelectionPubSubCommands<K,V>
Modifier and Type | Method and Description |
---|---|
Executions<Void> |
psubscribe(K... patterns)
Listen for messages published to channels matching the given patterns.
|
Executions<Void> |
punsubscribe(K... patterns)
Stop listening for messages posted to channels matching the given patterns.
|
Executions<Void> |
subscribe(K... channels)
Listen for messages published to the given channels.
|
Executions<Void> |
unsubscribe(K... channels)
Stop listening for messages posted to the given channels.
|
Executions<Void> psubscribe(K... patterns)
patterns
- the patterns.psubscribe
completion.Executions<Void> punsubscribe(K... patterns)
patterns
- the patterns.punsubscribe
completion.Executions<Void> subscribe(K... channels)
channels
- the channels.subscribe
completion.Executions<Void> unsubscribe(K... channels)
channels
- the channels.unsubscribe
completion.Copyright © 2021 lettuce.io. All rights reserved.