Interface StoreSerializer
- 
- All Superinterfaces:
- Serializer
 
 @Deprecated public interface StoreSerializer extends Serializer Deprecated.since 1.11 ("Loon")Service to serialize Objects into byte array.
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description <T> Tcopy(T object)Deprecated.Returns a copy of the specfied object.<T> Tdecode(byte[] bytes)Deprecated.Deserializes the specified bytes into an object.<T> Tdecode(InputStream stream)Deprecated.Deserializes the specified bytes into an object.<T> Tdecode(ByteBuffer buffer)Deprecated.Deserializes the specified bytes into an object.byte[]encode(Object obj)Deprecated.Serializes the specified object into bytes.voidencode(Object obj, OutputStream stream)Deprecated.Serializes the specified object into bytes.voidencode(Object obj, ByteBuffer buffer)Deprecated.Serializes the specified object into bytes.static StoreSerializerusing(KryoNamespace ns)Deprecated.Creates a new StoreSerializer instance from a KryoNamespace.
 
- 
- 
- 
Method Detail- 
encodebyte[] encode(Object obj) Deprecated.Serializes the specified object into bytes.- Specified by:
- encodein interface- Serializer
- Parameters:
- obj- object to be serialized
- Returns:
- serialized bytes
 
 - 
encodevoid encode(Object obj, ByteBuffer buffer) Deprecated.Serializes the specified object into bytes.- Parameters:
- obj- object to be serialized
- buffer- to write serialized bytes
 
 - 
encodevoid encode(Object obj, OutputStream stream) Deprecated.Serializes the specified object into bytes.- Parameters:
- obj- object to be serialized
- stream- to write serialized bytes
 
 - 
decode<T> T decode(byte[] bytes) Deprecated.Deserializes the specified bytes into an object.- Specified by:
- decodein interface- Serializer
- Type Parameters:
- T- decoded type
- Parameters:
- bytes- bytes to be deserialized
- Returns:
- deserialized object
 
 - 
decode<T> T decode(ByteBuffer buffer) Deprecated.Deserializes the specified bytes into an object.- Type Parameters:
- T- decoded type
- Parameters:
- buffer- bytes to be deserialized
- Returns:
- deserialized object
 
 - 
decode<T> T decode(InputStream stream) Deprecated.Deserializes the specified bytes into an object.- Type Parameters:
- T- decoded type
- Parameters:
- stream- stream containing the bytes to be deserialized
- Returns:
- deserialized object
 
 - 
copy<T> T copy(T object) Deprecated.Returns a copy of the specfied object.- Specified by:
- copyin interface- Serializer
- Type Parameters:
- T- object type
- Parameters:
- object- object to copy
- Returns:
- a copy of the object
 
 - 
usingstatic StoreSerializer using(KryoNamespace ns) Deprecated.Creates a new StoreSerializer instance from a KryoNamespace.- Parameters:
- ns- kryo namespace
- Returns:
- StoreSerializer instance
 
 
- 
 
-