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