EventListener
, MessageListener<Object>
, RedisPubSubListener<Object>
public class SubscribeListener extends BaseRedisPubSubListener
Constructor | Description |
---|---|
SubscribeListener(ChannelName name,
PubSubType type) |
Modifier and Type | Method | Description |
---|---|---|
io.netty.util.concurrent.Future<Void> |
getSuccessFuture() |
|
boolean |
onStatus(PubSubType type,
CharSequence channel) |
onMessage, onPatternMessage
public SubscribeListener(ChannelName name, PubSubType type)
public boolean onStatus(PubSubType type, CharSequence channel)
onStatus
in interface RedisPubSubListener<Object>
onStatus
in class BaseRedisPubSubListener
public io.netty.util.concurrent.Future<Void> getSuccessFuture()
Copyright © 2014–2018 The Redisson Project. All rights reserved.