com.hazelcast.nio.serialization.serializers
public static class LinkedListSerializerHook.LinkedListStreamSerializer extends Object implements StreamSerializer<LinkedList>
LinkedList
serializerConstructor and Description |
---|
LinkedListSerializerHook.LinkedListStreamSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Called when instance is shutting down.
|
int |
getTypeId() |
LinkedList |
read(ObjectDataInput in)
Reads object from objectDataInputStream
|
void |
write(ObjectDataOutput out,
LinkedList object)
This method writes object to ObjectDataOutput
|
public LinkedListSerializerHook.LinkedListStreamSerializer()
public void write(ObjectDataOutput out, LinkedList object) throws IOException
StreamSerializer
write
in interface StreamSerializer<LinkedList>
out
- ObjectDataOutput stream that object will be written toobject
- that will be written to outIOException
- in case of failure to writepublic LinkedList read(ObjectDataInput in) throws IOException
StreamSerializer
read
in interface StreamSerializer<LinkedList>
in
- ObjectDataInput stream that object will read fromIOException
- in case of failure to readpublic int getTypeId()
getTypeId
in interface Serializer
public void destroy()
Serializer
destroy
in interface Serializer
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.