public interface PortableMarshalAware
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 portable
serialization is already very fast and implementing custom serialization
logic for portables does not provide significant performance gains.
| Modifier and Type | Method and Description |
|---|---|
void |
readPortable(PortableReader reader)
Reads fields from provided reader.
|
void |
writePortable(PortableWriter writer)
Writes fields to provided writer.
|
void writePortable(PortableWriter writer) throws PortableException
writer - Portable object writer.PortableException - In case of error.void readPortable(PortableReader reader) throws PortableException
reader - Portable object reader.PortableException - In case of error.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.4.0 Release Date : September 24 2015