public interface Marshaller<T>
Modifier and Type | Method and Description |
---|---|
T |
deepCopy(T source) |
int |
getFixedSize() |
boolean |
isDeepCopySupported() |
T |
readPayload(DataInput dataIn)
Read the payload of the object from the DataInput stream.
|
void |
writePayload(T object,
DataOutput dataOut)
Write the payload of the object to the DataOutput stream.
|
void writePayload(T object, DataOutput dataOut) throws IOException
object
- dataOut
- IOException
T readPayload(DataInput dataIn) throws IOException
dataIn
- IOException
int getFixedSize()
boolean isDeepCopySupported()
deepCopy(Object)
operations is supported.Copyright © 2005–2017. All rights reserved.