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 - PortableWriterIOExceptionvoid readPortable(PortableReader reader) throws IOException
reader - PortableReaderIOExceptionCopyright © 2018 Hazelcast, Inc.. All Rights Reserved.