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