Package | Description |
---|---|
org.springframework.data.redis.connection |
Connection package providing low-level abstractions for interacting with the various Redis 'drivers'/libraries.
|
org.springframework.data.redis.listener |
Base package for Redis message listener / pubsub container facility
|
org.springframework.data.redis.listener.adapter |
Message listener adapter package.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultMessage
Default message implementation.
|
Modifier and Type | Method and Description |
---|---|
void |
MessageListener.onMessage(Message message,
byte[] pattern)
Callback for processing received objects through Redis.
|
Modifier and Type | Method and Description |
---|---|
protected void |
KeyExpirationEventMessageListener.doHandleMessage(Message message) |
protected abstract void |
KeyspaceEventMessageListener.doHandleMessage(Message message)
Handle the actual message
|
protected void |
RedisMessageListenerContainer.executeListener(MessageListener listener,
Message message,
byte[] pattern)
Execute the specified listener.
|
void |
KeyspaceEventMessageListener.onMessage(Message message,
byte[] pattern) |
protected void |
RedisMessageListenerContainer.processMessage(MessageListener listener,
Message message,
byte[] pattern)
Process a message received from the provider.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
MessageListenerAdapter.extractMessage(Message message)
Extract the message body from the given Redis message.
|
protected String |
MessageListenerAdapter.getListenerMethodName(Message originalMessage,
Object extractedMessage)
Determine the name of the listener method that is supposed to handle the given message.
|
void |
MessageListenerAdapter.onMessage(Message message,
byte[] pattern)
Standard Redis
MessageListener entry point. |
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.