Constructor and Description |
---|
PortableCollection() |
PortableCollection(Collection<Data> collection) |
Modifier and Type | Method and Description |
---|---|
int |
getClassId()
Returns class identifier for this portable class.
|
Collection<Data> |
getCollection() |
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
|
public PortableCollection()
public PortableCollection(Collection<Data> collection)
public Collection<Data> getCollection()
public int getFactoryId()
Portable
getFactoryId
in interface Portable
public int getClassId()
Portable
getClassId
in interface Portable
public void writePortable(PortableWriter writer) throws IOException
Portable
writePortable
in interface Portable
writer
- PortableWriterIOException
public void readPortable(PortableReader reader) throws IOException
Portable
readPortable
in interface Portable
reader
- PortableReaderIOException
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.