Package org.redisson.api.listener
Interface PatternMessageListener<M>
- Type Parameters:
M
- message
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
RedissonSessionRepository
Listener for Redis messages published via RTopic Redisson object
- Author:
- Nikita Koksharov
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onMessage
(CharSequence pattern, CharSequence channel, M msg) Invokes on every message in topic
-
Method Details
-
onMessage
Invokes on every message in topic- Parameters:
pattern
- of channel namechannel
- of topicmsg
- topic message
-