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.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023