Package io.lettuce.core.api.push
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 toPushMessage
. Requires Redis 6+ using RESP3.- Since:
- 6.0
- Author:
- Mark Paluch
- See Also:
PushMessage
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onPushMessage(PushMessage message)
Handle a push message.
-
-
-
Method Detail
-
onPushMessage
void onPushMessage(PushMessage message)
Handle a push message.- Parameters:
message
- message to respond to.
-
-