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.Marshaller
INSTANCE
-
Constructor Summary
Constructors Constructor Description Marshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SequenceSet
deepCopy(SequenceSet value)
int
getFixedSize()
boolean
isDeepCopySupported()
SequenceSet
readPayload(DataInput in)
Read the payload of the object from the DataInput stream.void
writePayload(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:Marshaller
Read the payload of the object from the DataInput stream.- Specified by:
readPayload
in interfaceMarshaller<SequenceSet>
- Returns:
- unmarshalled object
- Throws:
IOException
-
writePayload
public void writePayload(SequenceSet value, DataOutput out) throws IOException
Description copied from interface:Marshaller
Write the payload of the object to the DataOutput stream.- Specified by:
writePayload
in interfaceMarshaller<SequenceSet>
- Throws:
IOException
-
getFixedSize
public int getFixedSize()
- Specified by:
getFixedSize
in 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:
deepCopy
in interfaceMarshaller<SequenceSet>
- Returns:
- a deep copy of the source object.
-
isDeepCopySupported
public boolean isDeepCopySupported()
- Specified by:
isDeepCopySupported
in interfaceMarshaller<SequenceSet>
- Returns:
- true if the
Marshaller.deepCopy(Object)
operations is supported.
-
-