public static final class JavaDefaultSerializers.JavaSerializer extends Object
Constructor and Description |
---|
JavaDefaultSerializers.JavaSerializer(boolean shared,
boolean gzipEnabled) |
Modifier and Type | Method and Description |
---|---|
int |
getTypeId() |
Object |
read(ObjectDataInput in)
Reads object from objectDataInputStream
|
void |
write(ObjectDataOutput out,
Object obj)
This method writes object to ObjectDataOutput
|
public JavaDefaultSerializers.JavaSerializer(boolean shared, boolean gzipEnabled)
public int getTypeId()
public Object read(ObjectDataInput in) throws IOException
StreamSerializer
in
- ObjectDataInput stream that object will read fromIOException
- in case of failure to readpublic void write(ObjectDataOutput out, Object obj) throws IOException
StreamSerializer
out
- ObjectDataOutput stream that object will be written toobj
- that will be written to outIOException
- in case of failure to writeCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.