|
Spring Data Key-Value | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RedisSerializer<T>
Basic interface serialization and deserialization of Objects to byte arrays (binary data). It is recommended that implementations are designed to handle null objects/empty arrays on serialization and deserialization side.
Method Summary | |
---|---|
T |
deserialize(byte[] bytes)
Deserialize an object from the given binary data. |
byte[] |
serialize(T t)
Serialize the given object to binary data. |
Method Detail |
---|
byte[] serialize(T t) throws SerializationException
t
- object to serialize
SerializationException
T deserialize(byte[] bytes) throws SerializationException
bytes
- object binary representation
SerializationException
|
Spring Data Key-Value | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |