Module lettuce.core

Interface RedisClusterPushListener

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 RedisClusterPushListener
Interface to be implemented by push message listeners that are interested in listening to PushMessage using Redis Cluster.
Since:
6.0
Author:
Mark Paluch
See Also:
PushMessage, PushListener
  • Method Details

    • onPushMessage

      void onPushMessage​(RedisClusterNode node, PushMessage message)
      Handle a push message.
      Parameters:
      node - the RedisClusterNode from which the message originates.
      message - message to respond to.