Class ChannelTopic
java.lang.Object
org.springframework.data.redis.listener.ChannelTopic
- All Implemented Interfaces:
Topic
Channel Topic implementation mapping to a Redis channel.- Author:
- Costin Leau, Mark Paluch, John Blum
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ChannelTopic
Constructs a newChannelTopicinstance.- Parameters:
channelName- must not be null.
-
-
Method Details
-
of
Create a newChannelTopicfor channel subscriptions.- Parameters:
channelName-nameof the Redis channel; must not be null.- Returns:
- the
ChannelTopicfor the givenchannelName. - Since:
- 2.1
-
getTopic
-
equals
-
hashCode
-
toString
-