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 serializeSerializationException
T deserialize(byte[] bytes) throws SerializationException
bytes
- object binary representationSerializationException
Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.