public class JavaSerializer extends Object implements Serializer
Constructor and Description |
---|
JavaSerializer() |
Modifier and Type | Method and Description |
---|---|
Object |
deserialize(ByteBuffer buf)
Deserializes object from byte buffer.
|
ByteBuffer |
serialize(Object obj)
Serializes object into byte buffer.
|
public ByteBuffer serialize(Object obj)
serialize
in interface Serializer
obj
- Object to serialize.public Object deserialize(ByteBuffer buf)
deserialize
in interface Serializer
buf
- Byte buffer.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019