- 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 Summary
Modifier and Type Method Description voidonPushMessage(RedisClusterNode node, PushMessage message)Handle a push message.
-
Method Details
-
onPushMessage
Handle a push message.- Parameters:
node- theRedisClusterNodefrom which themessageoriginates.message- message to respond to.
-