Package io.lettuce.core.cluster.api.push
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 toPushMessage
using Redis Cluster.- Since:
- 6.0
- Author:
- Mark Paluch
- See Also:
PushMessage
,PushListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onPushMessage(RedisClusterNode node, PushMessage message)
Handle a push message.
-
-
-
Method Detail
-
onPushMessage
void onPushMessage(RedisClusterNode node, PushMessage message)
Handle a push message.- Parameters:
node
- theRedisClusterNode
from which themessage
originates.message
- message to respond to.
-
-