public class LongMarshaller extends Object implements Marshaller<Long>
Modifier and Type | Field and Description |
---|---|
static LongMarshaller |
INSTANCE |
Constructor and Description |
---|
LongMarshaller() |
Modifier and Type | Method and Description |
---|---|
Long |
deepCopy(Long source) |
int |
getFixedSize() |
boolean |
isDeepCopySupported() |
Long |
readPayload(DataInput dataIn)
Read the payload of the object from the DataInput stream.
|
void |
writePayload(Long object,
DataOutput dataOut)
Write the payload of the object to the DataOutput stream.
|
public static final LongMarshaller INSTANCE
public LongMarshaller()
public void writePayload(Long object, DataOutput dataOut) throws IOException
Marshaller
writePayload
in interface Marshaller<Long>
IOException
public Long readPayload(DataInput dataIn) throws IOException
Marshaller
readPayload
in interface Marshaller<Long>
IOException
public int getFixedSize()
getFixedSize
in interface Marshaller<Long>
public Long deepCopy(Long source)
deepCopy
in interface Marshaller<Long>
public boolean isDeepCopySupported()
isDeepCopySupported
in interface Marshaller<Long>
Marshaller.deepCopy(Object)
operations is supported.Copyright © 2005–2018. All rights reserved.