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).
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
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object