Package org.redisson.client
Class SubscribeListener
- java.lang.Object
-
- org.redisson.client.BaseRedisPubSubListener
-
- org.redisson.client.SubscribeListener
-
- All Implemented Interfaces:
EventListener
,MessageListener<Object>
,RedisPubSubListener<Object>
public class SubscribeListener extends BaseRedisPubSubListener
- Author:
- Nikita Koksharov
-
-
Constructor Summary
Constructors Constructor Description SubscribeListener(ChannelName name, PubSubType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty.util.concurrent.Future<Void>
getSuccessFuture()
boolean
onStatus(PubSubType type, CharSequence channel)
-
Methods inherited from class org.redisson.client.BaseRedisPubSubListener
onMessage, onPatternMessage
-
-
-
-
Constructor Detail
-
SubscribeListener
public SubscribeListener(ChannelName name, PubSubType type)
-
-
Method Detail
-
onStatus
public boolean onStatus(PubSubType type, CharSequence channel)
- Specified by:
onStatus
in interfaceRedisPubSubListener<Object>
- Overrides:
onStatus
in classBaseRedisPubSubListener
-
getSuccessFuture
public io.netty.util.concurrent.Future<Void> getSuccessFuture()
-
-