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