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