Class ReactiveSubscription.PatternMessage<P,C,M>  
java.lang.Object
org.springframework.data.redis.connection.ReactiveSubscription.ChannelMessage<C,M>
 
org.springframework.data.redis.connection.ReactiveSubscription.PatternMessage<P,C,M>  
- Type Parameters:
 P- type of how the pattern is represented.C- type of how the channel name is represented.M- type of how the message is represented.
- All Implemented Interfaces:
 ReactiveSubscription.Message<C,M> 
- Enclosing interface:
 - ReactiveSubscription
 
public static class ReactiveSubscription.PatternMessage<P,C,M>  
extends ReactiveSubscription.ChannelMessage<C,M> 
Value object for a Redis channel message received from a pattern subscription.
- Since:
 - 2.1
 - Author:
 - Mark Paluch, Christoph Strobl
 
- 
Constructor Summary
ConstructorsConstructorDescriptionPatternMessage(P pattern, C channel, M message) Create a newReactiveSubscription.PatternMessage. - 
Method Summary
Methods inherited from class org.springframework.data.redis.connection.ReactiveSubscription.ChannelMessage
getChannel, getMessage 
- 
Constructor Details
- 
PatternMessage
Create a newReactiveSubscription.PatternMessage.- Parameters:
 pattern- must not be null.channel- must not be null.message- must not be null.
 
 - 
 - 
Method Details
- 
getPattern
Get the pattern that matched the channel.- Returns:
 - never null.
 
 - 
equals
- Overrides:
 equalsin classReactiveSubscription.ChannelMessage<C,M> 
 - 
hashCode
public int hashCode()- Overrides:
 hashCodein classReactiveSubscription.ChannelMessage<C,M> 
 - 
toString
- Overrides:
 toStringin classReactiveSubscription.ChannelMessage<C,M> 
 
 -