java.lang.Object
io.lettuce.core.pubsub.api.reactive.PatternMessage<K,V>
public class PatternMessage<K,V> extends Object
Message payload for a subscription to a pattern.
- Author:
- Mark Paluch
-
Constructor Summary
Constructors Constructor Description PatternMessage(K pattern, K channel, V message) -
Method Summary
Modifier and Type Method Description KgetChannel()VgetMessage()KgetPattern()
-
Constructor Details
-
PatternMessage
- Parameters:
pattern- the patternchannel- the channelmessage- the message
-
-
Method Details
-
getPattern
- Returns:
- the pattern
-
getChannel
- Returns:
- the channel
-
getMessage
- Returns:
- the message
-