Interface StatusListener

  • All Superinterfaces:
    All Known Implementing Classes:
    BaseStatusListener

    public interface StatusListener
    extends 
    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
      void  channel)
      Executes then Redisson successfully subscribed to channel.
      void  channel)
      Executes then Redisson successfully unsubscribed from channel.
    • Method Detail

      • onSubscribe

        void onSubscribe​( channel)
        Executes then Redisson successfully subscribed to channel. Invoked during re-connection or failover process
        Parameters:
        channel - to subscribe
      • onUnsubscribe

        void onUnsubscribe​( channel)
        Executes then Redisson successfully unsubscribed from channel.
        Parameters:
        channel - to unsubscribe