Interface PushListener

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface PushListener
    Interface to be implemented by push message listeners that are interested in listening to PushMessage. Requires Redis 6+ using RESP3.
    Since:
    6.0
    Author:
    Mark Paluch
    See Also:
    PushMessage
    • Method Detail

      • onPushMessage

        void onPushMessage​(PushMessage message)
        Handle a push message.
        Parameters:
        message - message to respond to.