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> |
ssubscribe(K... shardChannels)
Listen for messages published to the given shard channels.
|
AsyncExecutions<Void> |
subscribe(K... channels)
Listen for messages published to the given channels.
|
AsyncExecutions<Void> |
sunsubscribe(K... shardChannels)
Stop listening for messages posted to the given shard channels.
|
AsyncExecutions<Void> |
unsubscribe(K... channels)
Stop listening for messages posted to the given channels.
|
AsyncExecutions<Void> psubscribe(K... patterns)
patterns - the patternspsubscribe completionAsyncExecutions<Void> punsubscribe(K... patterns)
patterns - the patternspunsubscribe completionAsyncExecutions<Void> subscribe(K... channels)
channels - the channelssubscribe completionAsyncExecutions<Void> unsubscribe(K... channels)
channels - the channelsunsubscribe completion.AsyncExecutions<Void> ssubscribe(K... shardChannels)
shardChannels - the channelssubscribe completionAsyncExecutions<Void> sunsubscribe(K... shardChannels)
shardChannels - the channelsunsubscribe completion.Copyright © 2024 lettuce.io. All rights reserved.