T
- Type of serialized objectspublic interface RamaCustomSerialization<T>
RamaClusterManager
. Custom serializers are automatically used on network or disk
boundaries.Modifier and Type | Method and Description |
---|---|
T |
deserialize(java.io.DataInput in)
Deserialize object
|
void |
serialize(T o,
java.io.DataOutput out)
Serializes an object
|
java.lang.Class |
targetType()
Base type targetted by this serializer.
|
void serialize(T o, java.io.DataOutput out) throws java.lang.Exception
o
- Object to serializeout
- Serialization output targetjava.lang.Exception
T deserialize(java.io.DataInput in) throws java.lang.Exception
in
- Source of binary datajava.lang.Exception
java.lang.Class targetType()