public class ConcurrentSkipListSetStreamSerializer<E> extends Object
ConcurrentSkipListSet serializer| Constructor and Description |
|---|
ConcurrentSkipListSetStreamSerializer() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Called when instance is shutting down.
|
int |
getTypeId() |
ConcurrentSkipListSet<E> |
read(ObjectDataInput in)
Reads object from objectDataInputStream
|
void |
write(ObjectDataOutput out,
ConcurrentSkipListSet<E> collection)
This method writes object to ObjectDataOutput
|
public ConcurrentSkipListSetStreamSerializer()
public void write(ObjectDataOutput out, ConcurrentSkipListSet<E> collection) throws IOException
StreamSerializerwrite in interface StreamSerializer<ConcurrentSkipListSet<E>>out - ObjectDataOutput stream that object will be written tocollection - that will be written to outIOException - in case of failure to writepublic ConcurrentSkipListSet<E> read(ObjectDataInput in) throws IOException
StreamSerializerin - ObjectDataInput stream that object will read fromIOException - in case of failure to readpublic int getTypeId()
public void destroy()
Serializerdestroy in interface SerializerCopyright © 2019 Hazelcast, Inc.. All rights reserved.