org.springframework.data.redis.listener
Class ChannelTopic
java.lang.Object
org.springframework.data.redis.listener.ChannelTopic
- All Implemented Interfaces:
- Topic
public class ChannelTopic
- extends Object
- implements Topic
Channel topic implementation (maps to a Redis channel).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChannelTopic
public ChannelTopic(String name)
- Constructs a new
ChannelTopic
instance.
- Parameters:
name
-
getTopic
public String getTopic()
- Returns the topic name.
- Specified by:
getTopic
in interface Topic
- Returns:
- topic name