public static final class JavaDefaultSerializers.ExternalizableSerializer extends Object
Constructor and Description |
---|
ExternalizableSerializer(boolean gzipEnabled,
ClassNameFilter classFilter) |
Modifier and Type | Method and Description |
---|---|
int |
getTypeId() |
Externalizable |
read(ObjectDataInput in)
Reads object from objectDataInputStream
|
void |
write(ObjectDataOutput out,
Externalizable obj)
This method writes object to ObjectDataOutput
|
public ExternalizableSerializer(boolean gzipEnabled, ClassNameFilter classFilter)
public int getTypeId()
public Externalizable read(ObjectDataInput in) throws IOException
StreamSerializer
in
- ObjectDataInput stream that object will read fromIOException
- in case of failure to readpublic void write(ObjectDataOutput out, Externalizable 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 © 2022 Hazelcast, Inc.. All Rights Reserved.