org.springframework.data.keyvalue.redis.listener
Class ChannelTopic
java.lang.Object
org.springframework.data.keyvalue.redis.listener.ChannelTopic
- All Implemented Interfaces:
- Topic
public class ChannelTopic
- extends Object
- implements Topic
Topic describing a channel.
- Author:
- Costin Leau
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 channel name.
- Specified by:
getTopic
in interface Topic
- Returns:
- channel name
Copyright © 2010-2011 SpringSource. All Rights Reserved.