EventListener
, StatusListener
public class BaseStatusListener extends Object implements StatusListener
RTopic
Constructor | Description |
---|---|
BaseStatusListener() |
Modifier and Type | Method | Description |
---|---|---|
void |
onSubscribe(String channel) |
Executes then Redisson successfully subscribed to channel.
|
void |
onUnsubscribe(String channel) |
Executes then Redisson successfully unsubscribed from channel.
|
public void onSubscribe(String channel)
StatusListener
onSubscribe
in interface StatusListener
channel
- to subscribepublic void onUnsubscribe(String channel)
StatusListener
onUnsubscribe
in interface StatusListener
channel
- to unsubscribeCopyright © 2014–2018 The Redisson Project. All rights reserved.