public interface Portable
PortableFactory
.
Portable serialization that have the following advantages:
SerializationConfig.setPortableVersion(int)
)Modifier and Type | Method and Description |
---|---|
int |
getClassId()
Returns class identifier for this portable class.
|
int |
getFactoryId()
Returns PortableFactory ID for this portable class
|
void |
readPortable(PortableReader reader)
Read portable fields using PortableReader
|
void |
writePortable(PortableWriter writer)
Serialize this portable object using PortableWriter
|
int getFactoryId()
int getClassId()
void writePortable(PortableWriter writer) throws IOException
writer
- PortableWriterIOException
void readPortable(PortableReader reader) throws IOException
reader
- PortableReaderIOException
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.