M
- messageEventListener
RedisPubSubListener<V>
BaseRedisPubSubListener
, PubSubMessageListener
, PubSubPatternMessageListener
, PubSubPatternStatusListener
, PubSubStatusListener
, SubscribeListener
public interface MessageListener<M> extends EventListener
RTopic
Modifier and Type | Method | Description |
---|---|---|
void |
onMessage(CharSequence channel,
M msg) |
Invokes on every message in topic
|
void onMessage(CharSequence channel, M msg)
channel
- of topicmsg
- topic messageCopyright © 2014–2018 The Redisson Project. All rights reserved.