public interface RedisSerializer<T>
| Modifier and Type | Method and Description |
|---|---|
T |
deserialize(byte[] bytes)
Deserialize an object from the given binary data.
|
byte[] |
serialize(T t)
Serialize the given object to binary data.
|
byte[] serialize(T t) throws SerializationException
t - object to serializeSerializationExceptionT deserialize(byte[] bytes) throws SerializationException
bytes - object binary representationSerializationExceptionCopyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.