org.apache.activemq.store.kahadb.disk.util
Class SequenceSet.Marshaller

java.lang.Object
  extended by 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
static SequenceSet.Marshaller INSTANCE
           
 
Constructor Summary
SequenceSet.Marshaller()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final SequenceSet.Marshaller INSTANCE
Constructor Detail

SequenceSet.Marshaller

public SequenceSet.Marshaller()
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 interface Marshaller<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 interface Marshaller<SequenceSet>
Throws:
IOException

getFixedSize

public int getFixedSize()
Specified by:
getFixedSize in interface Marshaller<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 interface Marshaller<SequenceSet>
Returns:
a deep copy of the source object.

isDeepCopySupported

public boolean isDeepCopySupported()
Specified by:
isDeepCopySupported in interface Marshaller<SequenceSet>
Returns:
true if the Marshaller.deepCopy(Object) operations is supported.


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.