public class KryoSerializer extends Object implements Serializer
Constructor and Description |
---|
KryoSerializer() |
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.15 Release Date : December 3 2024