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:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Executes then Redisson successfully subscribed to channel.
    void
    Executes then Redisson successfully unsubscribed from channel.
  • Method Details

    • 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