K
- Key type.V
- Value type.public interface RedisPubSubListener<K,V>
Modifier and Type | Method and Description |
---|---|
void |
message(K pattern,
K channel,
V message)
Message received from a pattern subscription.
|
void |
message(K channel,
V message)
Message received from a channel subscription.
|
void |
psubscribed(K pattern,
long count)
Subscribed to a pattern.
|
void |
punsubscribed(K pattern,
long count)
Unsubscribed from a pattern.
|
default void |
smessage(K shardChannel,
V message)
Message received from a shard channel subscription.
|
default void |
ssubscribed(K shardChannel,
long count)
Subscribed to a Shard channel.
|
void |
subscribed(K channel,
long count)
Subscribed to a channel.
|
default void |
sunsubscribed(K shardChannel,
long count)
Unsubscribed from a shard channel.
|
void |
unsubscribed(K channel,
long count)
Unsubscribed from a channel.
|
void message(K channel, V message)
channel
- Channel.message
- Message.void message(K pattern, K channel, V message)
pattern
- Patternchannel
- Channelmessage
- Messagevoid subscribed(K channel, long count)
channel
- Channelcount
- Subscription count.void psubscribed(K pattern, long count)
pattern
- Pattern.count
- Subscription count.void unsubscribed(K channel, long count)
channel
- Channelcount
- Subscription count.void punsubscribed(K pattern, long count)
pattern
- Channelcount
- Subscription count.default void ssubscribed(K shardChannel, long count)
shardChannel
- Shard channelcount
- Subscription count.default void sunsubscribed(K shardChannel, long count)
shardChannel
- Channelcount
- Subscription count.Copyright © 2025 lettuce.io. All rights reserved.