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