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