public class BaseRedisPubSubListener extends Object implements RedisPubSubListener<Object>
| Constructor and Description |
|---|
BaseRedisPubSubListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onMessage(String channel,
Object message)
Invokes on every message in topic
|
void |
onPatternMessage(String pattern,
String channel,
Object message) |
boolean |
onStatus(PubSubType type,
String channel) |
public boolean onStatus(PubSubType type, String channel)
onStatus in interface RedisPubSubListener<Object>public void onMessage(String channel, Object message)
MessageListeneronMessage in interface MessageListener<Object>channel - of topicmessage - topic messagepublic void onPatternMessage(String pattern, String channel, Object message)
onPatternMessage in interface RedisPubSubListener<Object>Copyright © 2014–2018 The Redisson Project. All rights reserved.