public static final class DefaultSerializers.ObjectSerializer extends Object
Constructor and Description |
---|
DefaultSerializers.ObjectSerializer(boolean shared,
boolean gzipEnabled) |
public DefaultSerializers.ObjectSerializer(boolean shared, boolean gzipEnabled)
public int getTypeId()
public Object read(com.hazelcast.nio.ObjectDataInput in) throws IOException
StreamSerializer
in
- ObjectDataInput stream that object will read fromIOException
- in case of failure to readpublic void write(com.hazelcast.nio.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 © 2014 Hazelcast, Inc.. All Rights Reserved.