Class ChannelTopic
java.lang.Object
org.springframework.data.redis.listener.ChannelTopic
- All Implemented Interfaces:
Topic
Channel topic implementation (maps to a Redis channel).
- Author:
- Costin Leau, Mark Paluch
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ChannelTopic
Constructs a newChannelTopicinstance.- Parameters:
name- must not be null.
-
-
Method Details
-
of
Create a newChannelTopicfor channel subscriptions.- Parameters:
name- the channel name, must not be null or empty.- Returns:
- the
ChannelTopicforchannelName. - Since:
- 2.1
-
getTopic
Description copied from interface:TopicReturns the topic (as a String). -
toString
-
equals
-
hashCode
public int hashCode()
-