V - Value type.public interface RedisPubSubListener<V>
| Modifier and Type | Method and Description |
|---|---|
void |
message(String pattern,
String channel,
V message)
Message received from a pattern subscription.
|
void |
message(String channel,
V message)
Message received from a channel subscription.
|
void |
psubscribed(String pattern,
long count)
Subscribed to a pattern.
|
void |
punsubscribed(String pattern,
long count)
Unsubscribed from a pattern.
|
void |
subscribed(String channel,
long count)
Subscribed to a channel.
|
void |
unsubscribed(String channel,
long count)
Unsubscribed from a channel.
|
void message(String channel, V message)
channel - Channel.message - Message.void message(String pattern, String channel, V message)
pattern - Pattern.channel - Channel.message - Message.void subscribed(String channel, long count)
channel - Channelcount - Subscription count.void psubscribed(String pattern, long count)
pattern - Pattern.count - Subscription count.void unsubscribed(String channel, long count)
channel - Channelcount - Subscription count.void punsubscribed(String pattern, long count)
pattern - Channelcount - Subscription count.Copyright © 2014–2015. All rights reserved.