Class SequenceSet.Marshaller
java.lang.Object
org.apache.activemq.store.kahadb.disk.util.SequenceSet.Marshaller
- All Implemented Interfaces:
Marshaller<SequenceSet>
- Enclosing class:
- SequenceSet
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeepCopy(SequenceSet value) intbooleanreadPayload(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 Details
-
INSTANCE
-
-
Constructor Details
-
Marshaller
public Marshaller()
-
-
Method Details
-
readPayload
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
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
- 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.
-