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 patternspsubscribe
completionExecutions<Void> punsubscribe(K... patterns)
patterns
- the patternspunsubscribe
completionExecutions<Void> subscribe(K... channels)
channels
- the channelssubscribe
completionExecutions<Void> unsubscribe(K... channels)
channels
- the channelsunsubscribe
completion.Copyright © 2022 lettuce.io. All rights reserved.