Spring Data Key-Value

org.springframework.data.keyvalue.redis.connection
Interface Message

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultMessage

public interface Message
extends Serializable

Class encapsulating a Redis message body and its properties.

Author:
Costin Leau

Method Summary
 byte[] getBody()
          Returns the body (or the payload) of the message.
 byte[] getChannel()
          Returns the channel associated with the message.
 

Method Detail

getBody

byte[] getBody()
Returns the body (or the payload) of the message.

Returns:
message body

getChannel

byte[] getChannel()
Returns the channel associated with the message.

Returns:
message channel.

Spring Data Key-Value

Copyright © 2010-2011 SpringSource. All Rights Reserved.