org.springframework.data.redis.listener
Class PatternTopic

java.lang.Object
  extended by org.springframework.data.redis.listener.PatternTopic
All Implemented Interfaces:
Topic

public class PatternTopic
extends Object
implements Topic

Pattern topic (matching multiple channels).


Constructor Summary
PatternTopic(String pattern)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getTopic()
          Returns the topic (as a String).
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PatternTopic

public PatternTopic(String pattern)
Method Detail

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