org.springframework.data.keyvalue.redis.connection
Interface MessageListener
- All Known Implementing Classes:
- MessageListenerAdapter
public interface MessageListener
Listener of messages published in Redis.
- Author:
- Costin Leau
Method Summary |
void |
onMessage(Message message,
byte[] pattern)
Callback for processing received objects through Redis. |
onMessage
void onMessage(Message message,
byte[] pattern)
- Callback for processing received objects through Redis.
- Parameters:
message
- messagepattern
- pattern matching the channel (if specified) - can be null
Copyright © 2010-2011 SpringSource. All Rights Reserved.