Package | Description |
---|---|
org.springframework.data.redis.listener |
Base package for Redis message listener / pubsub container facility
|
Modifier and Type | Class and Description |
---|---|
class |
ChannelTopic
Channel topic implementation (maps to a Redis channel).
|
class |
PatternTopic
Pattern topic (matching multiple channels).
|
Modifier and Type | Method and Description |
---|---|
void |
RedisMessageListenerContainer.addMessageListener(MessageListener listener,
Topic topic)
Adds a message listener to the (potentially running) container.
|
void |
RedisMessageListenerContainer.removeMessageListener(MessageListener listener,
Topic topic)
Removes a message listener from the from the given topic.
|
Modifier and Type | Method and Description |
---|---|
void |
RedisMessageListenerContainer.addMessageListener(MessageListener listener,
Collection<? extends Topic> topics)
Adds a message listener to the (potentially running) container.
|
void |
RedisMessageListenerContainer.removeMessageListener(MessageListener listener,
Collection<? extends Topic> topics)
Removes a message listener from the given topics.
|
void |
RedisMessageListenerContainer.setMessageListeners(Map<? extends MessageListener,Collection<? extends Topic>> listeners)
Attaches the given listeners (and their topics) to the container.
|
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.