Class SequenceSet.Marshaller
- java.lang.Object
-
- org.apache.activemq.store.kahadb.disk.util.SequenceSet.Marshaller
-
- All Implemented Interfaces:
Marshaller<SequenceSet>
- Enclosing class:
- SequenceSet
public static class SequenceSet.Marshaller extends Object implements Marshaller<SequenceSet>
-
-
Field Summary
Fields Modifier and Type Field Description static SequenceSet.MarshallerINSTANCE
-
Constructor Summary
Constructors Constructor Description Marshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SequenceSetdeepCopy(SequenceSet value)intgetFixedSize()booleanisDeepCopySupported()SequenceSetreadPayload(DataInput in)Read the payload of the object from the DataInput stream.voidwritePayload(SequenceSet value, DataOutput out)Write the payload of the object to the DataOutput stream.
-
-
-
Field Detail
-
INSTANCE
public static final SequenceSet.Marshaller INSTANCE
-
-
Method Detail
-
readPayload
public SequenceSet readPayload(DataInput in) throws IOException
Description copied from interface:MarshallerRead the payload of the object from the DataInput stream.- Specified by:
readPayloadin interfaceMarshaller<SequenceSet>- Returns:
- unmarshalled object
- Throws:
IOException
-
writePayload
public void writePayload(SequenceSet value, DataOutput out) throws IOException
Description copied from interface:MarshallerWrite the payload of the object to the DataOutput stream.- Specified by:
writePayloadin interfaceMarshaller<SequenceSet>- Throws:
IOException
-
getFixedSize
public int getFixedSize()
- Specified by:
getFixedSizein interfaceMarshaller<SequenceSet>- Returns:
- -1 if the object do not always marshall to a fixed size, otherwise return that fixed size.
-
deepCopy
public SequenceSet deepCopy(SequenceSet value)
- Specified by:
deepCopyin interfaceMarshaller<SequenceSet>- Returns:
- a deep copy of the source object.
-
isDeepCopySupported
public boolean isDeepCopySupported()
- Specified by:
isDeepCopySupportedin interfaceMarshaller<SequenceSet>- Returns:
- true if the
Marshaller.deepCopy(Object)operations is supported.
-
-