Package org.redisson.api.listener
Interface StatusListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
BaseStatusListener
Listener for Redis PubSub channel status changes
- Author:
- Nikita Koksharov
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onSubscribe
(String channel) Executes then Redisson successfully subscribed to channel.void
onUnsubscribe
(String channel) Executes then Redisson successfully unsubscribed from channel.
-
Method Details
-
onSubscribe
Executes then Redisson successfully subscribed to channel. Invoked during re-connection or failover process- Parameters:
channel
- to subscribe
-
onUnsubscribe
Executes then Redisson successfully unsubscribed from channel.- Parameters:
channel
- to unsubscribe
-