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.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024