public class SmartExternalizableSerializer<T extends Externalizable> extends Object implements IClassSerializer<T>
| Modifier and Type | Field and Description |
|---|---|
static SmartExternalizableSerializer |
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| Modifier and Type | Method and Description |
|---|---|
byte |
getCode() |
T |
read(ObjectInput in) |
void |
write(ObjectOutput out,
T obj) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultValuepublic static final SmartExternalizableSerializer instance
public byte getCode()
getCode in interface IClassSerializer<T extends Externalizable>public void write(ObjectOutput out, T obj) throws IOException
write in interface IClassSerializer<T extends Externalizable>IOExceptionpublic T read(ObjectInput in) throws IOException, ClassNotFoundException
read in interface IClassSerializer<T extends Externalizable>IOExceptionClassNotFoundExceptionCopyright © GigaSpaces.