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