Package org.apache.activemq.store.kahadb
Class MessageDatabase.LastAckMarshaller
- java.lang.Object
-
- org.apache.activemq.store.kahadb.MessageDatabase.LastAckMarshaller
-
- All Implemented Interfaces:
Marshaller<org.apache.activemq.store.kahadb.MessageDatabase.LastAck>
- Enclosing class:
- MessageDatabase
protected class MessageDatabase.LastAckMarshaller extends Object implements Marshaller<org.apache.activemq.store.kahadb.MessageDatabase.LastAck>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedLastAckMarshaller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.activemq.store.kahadb.MessageDatabase.LastAckdeepCopy(org.apache.activemq.store.kahadb.MessageDatabase.LastAck source)intgetFixedSize()booleanisDeepCopySupported()org.apache.activemq.store.kahadb.MessageDatabase.LastAckreadPayload(DataInput dataIn)Read the payload of the object from the DataInput stream.voidwritePayload(org.apache.activemq.store.kahadb.MessageDatabase.LastAck object, DataOutput dataOut)Write the payload of the object to the DataOutput stream.
-
-
-
Method Detail
-
writePayload
public void writePayload(org.apache.activemq.store.kahadb.MessageDatabase.LastAck object, DataOutput dataOut) throws IOExceptionDescription copied from interface:MarshallerWrite the payload of the object to the DataOutput stream.- Specified by:
writePayloadin interfaceMarshaller<org.apache.activemq.store.kahadb.MessageDatabase.LastAck>- Throws:
IOException
-
readPayload
public org.apache.activemq.store.kahadb.MessageDatabase.LastAck readPayload(DataInput dataIn) throws IOException
Description copied from interface:MarshallerRead the payload of the object from the DataInput stream.- Specified by:
readPayloadin interfaceMarshaller<org.apache.activemq.store.kahadb.MessageDatabase.LastAck>- Returns:
- unmarshalled object
- Throws:
IOException
-
getFixedSize
public int getFixedSize()
- Specified by:
getFixedSizein interfaceMarshaller<org.apache.activemq.store.kahadb.MessageDatabase.LastAck>- Returns:
- -1 if the object do not always marshall to a fixed size, otherwise return that fixed size.
-
deepCopy
public org.apache.activemq.store.kahadb.MessageDatabase.LastAck deepCopy(org.apache.activemq.store.kahadb.MessageDatabase.LastAck source)
- Specified by:
deepCopyin interfaceMarshaller<org.apache.activemq.store.kahadb.MessageDatabase.LastAck>- Returns:
- a deep copy of the source object.
-
isDeepCopySupported
public boolean isDeepCopySupported()
- Specified by:
isDeepCopySupportedin interfaceMarshaller<org.apache.activemq.store.kahadb.MessageDatabase.LastAck>- Returns:
- true if the
Marshaller.deepCopy(Object)operations is supported.
-
-