public interface NodeSelectionPubSubReactiveCommands<K,V>
Modifier and Type | Method and Description |
---|---|
ReactiveExecutions<Success> |
psubscribe(K... patterns)
Listen for messages published to channels matching the given patterns.
|
ReactiveExecutions<Success> |
punsubscribe(K... patterns)
Stop listening for messages posted to channels matching the given patterns.
|
ReactiveExecutions<Success> |
subscribe(K... channels)
Listen for messages published to the given channels.
|
ReactiveExecutions<Success> |
unsubscribe(K... channels)
Stop listening for messages posted to the given channels.
|
ReactiveExecutions<Success> psubscribe(K... patterns)
patterns
- the patternspsubscribe
completionReactiveExecutions<Success> punsubscribe(K... patterns)
patterns
- the patternspunsubscribe
completionReactiveExecutions<Success> subscribe(K... channels)
channels
- the channelssubscribe
completionReactiveExecutions<Success> unsubscribe(K... channels)
channels
- the channelsunsubscribe
completion.Copyright © 2018 lettuce.io. All rights reserved.