public interface Binarylizable
This interface, in a way, is analogous to Externalizable
interface, which allows users to override default serialization logic,
usually for performance reasons. The only difference here is that binary
serialization is already very fast and implementing custom serialization
logic for binary does not provide significant performance gains.
Modifier and Type | Method and Description |
---|---|
void |
readBinary(BinaryReader reader)
Reads fields from provided reader.
|
void |
writeBinary(BinaryWriter writer)
Writes fields to provided writer.
|
void writeBinary(BinaryWriter writer) throws BinaryObjectException
writer
- Binary object writer.BinaryObjectException
- In case of error.void readBinary(BinaryReader reader) throws BinaryObjectException
reader
- Binary object reader.BinaryObjectException
- In case of error.
GridGain In-Memory Computing Platform : ver. 8.9.15 Release Date : December 3 2024