public class SynchronousQueueStreamSerializer<E> extends Object
SynchronousQueue
serializer
Important Note: The `fair` boolean is not be serialized since there is no public way to access it.Constructor and Description |
---|
SynchronousQueueStreamSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Called when instance is shutting down.
|
int |
getTypeId() |
SynchronousQueue<E> |
read(ObjectDataInput in)
Reads object from objectDataInputStream
|
void |
write(ObjectDataOutput out,
CollectionType collection)
This method writes object to ObjectDataOutput
|
public int getTypeId()
public SynchronousQueue<E> read(ObjectDataInput in) throws IOException
StreamSerializer
in
- ObjectDataInput stream that object will read fromIOException
- in case of failure to readpublic void write(ObjectDataOutput out, CollectionType collection) throws IOException
StreamSerializer
write
in interface StreamSerializer<CollectionType extends Collection>
out
- ObjectDataOutput stream that object will be written tocollection
- that will be written to outIOException
- in case of failure to writepublic void destroy()
Serializer
destroy
in interface Serializer
Copyright © 2019 Hazelcast, Inc.. All rights reserved.