public interface IClassSerializer<T>
Modifier and Type | Field and Description |
---|---|
static byte |
CODE_BOOLEAN |
static byte |
CODE_BYTE |
static byte |
CODE_BYTE_ARRAY |
static byte |
CODE_CHARACTER |
static byte |
CODE_DOUBLE |
static byte |
CODE_FLOAT |
static byte |
CODE_HASHMAP |
static byte |
CODE_INTEGER |
static byte |
CODE_LONG |
static byte |
CODE_NULL |
static byte |
CODE_OBJECT |
static byte |
CODE_SHORT |
static byte |
CODE_STRING |
Modifier and Type | Method and Description |
---|---|
byte |
getCode() |
default T |
getDefaultValue() |
T |
read(ObjectInput in) |
void |
write(ObjectOutput out,
T obj) |
static final byte CODE_NULL
static final byte CODE_OBJECT
static final byte CODE_STRING
static final byte CODE_BYTE
static final byte CODE_SHORT
static final byte CODE_INTEGER
static final byte CODE_LONG
static final byte CODE_FLOAT
static final byte CODE_DOUBLE
static final byte CODE_BOOLEAN
static final byte CODE_CHARACTER
static final byte CODE_BYTE_ARRAY
static final byte CODE_HASHMAP
byte getCode()
void write(ObjectOutput out, T obj) throws IOException
IOException
T read(ObjectInput in) throws IOException, ClassNotFoundException
IOException
ClassNotFoundException
default T getDefaultValue()
Copyright © GigaSpaces.