Class PatternTopic
java.lang.Object
org.springframework.data.redis.listener.PatternTopic
- All Implemented Interfaces:
Topic
Pattern topic (matching multiple channels).
- Author:
- Costin Leau, Mark Paluch, Christoph Strobl
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PatternTopic
Constructs a newPatternTopicinstance.- Parameters:
pattern- must not be null.
-
-
Method Details
-
of
Create a newPatternTopicfor channel subscriptions based on apattern.- Parameters:
pattern- the channel pattern, must not be null or empty.- Returns:
- the
PatternTopicforpattern. - Since:
- 2.1
-
getTopic
Description copied from interface:TopicReturns the topic (as a String). -
toString
-
equals
-
hashCode
public int hashCode()
-