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
-
Method Summary
-
Constructor Details
-
ChannelTopic
Constructs a newChannelTopic
instance.- Parameters:
channelName
- must not be null.
-
-
Method Details
-
of
Create a newChannelTopic
for channel subscriptions.- Parameters:
channelName
-name
of the Redis channel; must not be null.- Returns:
- the
ChannelTopic
for the givenchannelName
. - Since:
- 2.1
-
getTopic
Description copied from interface:Topic
Returns the topic (as a String). -
equals
-
hashCode
public int hashCode() -
toString
-