|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KryoSerializable
Allows implementing classes to perform their own serialization. Hand written serialization can be more efficient in some cases.
The default serializer for KryoSerializable is DefaultSerializers.KryoSerializableSerializer
, which uses Kryo.newInstance(Class)
to construct the class.
Method Summary | |
---|---|
void |
read(Kryo kryo,
Input input)
|
void |
write(Kryo kryo,
Output output)
|
Method Detail |
---|
void write(Kryo kryo, Output output)
void read(Kryo kryo, Input input)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |