public class DefaultCompressedClassSerializer extends Object implements IClassSerializer<Object>
Modifier and Type | Field and Description |
---|---|
static DefaultCompressedClassSerializer |
instance |
CODE_BOOLEAN, CODE_BYTE, CODE_BYTE_ARRAY, CODE_CHARACTER, CODE_DOUBLE, CODE_FLOAT, CODE_HASHMAP, CODE_INTEGER, CODE_LONG, CODE_NULL, CODE_OBJECT, CODE_SHORT, CODE_SMART_EXTERNALIZABLE, CODE_STRING
Constructor and Description |
---|
DefaultCompressedClassSerializer() |
Modifier and Type | Method and Description |
---|---|
byte |
getCode() |
Object |
read(ObjectInput in) |
void |
write(ObjectOutput out,
Object obj) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultValue
public static final DefaultCompressedClassSerializer instance
public byte getCode()
getCode
in interface IClassSerializer<Object>
public void write(ObjectOutput out, Object obj) throws IOException
write
in interface IClassSerializer<Object>
IOException
public Object read(ObjectInput in) throws IOException, ClassNotFoundException
read
in interface IClassSerializer<Object>
IOException
ClassNotFoundException
Copyright © GigaSpaces.