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