org.springframework.data.redis.listener
Class PatternTopic
java.lang.Object
org.springframework.data.redis.listener.PatternTopic
- All Implemented Interfaces:
- Topic
public class PatternTopic
- extends Object
- implements Topic
Pattern topic (matching multiple channels).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PatternTopic
public PatternTopic(String pattern)
getTopic
public String getTopic()
- Description copied from interface:
Topic
- Returns the topic (as a String).
- Specified by:
getTopic
in interface Topic
- Returns:
- the topic