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 java.lang.Object
- implements Marshaller<org.apache.activemq.store.kahadb.MessageDatabase.LastAck>
Method Summary |
org.apache.activemq.store.kahadb.MessageDatabase.LastAck |
deepCopy(org.apache.activemq.store.kahadb.MessageDatabase.LastAck source)
|
int |
getFixedSize()
|
boolean |
isDeepCopySupported()
|
org.apache.activemq.store.kahadb.MessageDatabase.LastAck |
readPayload(java.io.DataInput dataIn)
Read the payload of the object from the DataInput stream. |
void |
writePayload(org.apache.activemq.store.kahadb.MessageDatabase.LastAck object,
java.io.DataOutput dataOut)
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 |
MessageDatabase.LastAckMarshaller
protected MessageDatabase.LastAckMarshaller()
writePayload
public void writePayload(org.apache.activemq.store.kahadb.MessageDatabase.LastAck object,
java.io.DataOutput dataOut)
throws java.io.IOException
- Description copied from interface:
Marshaller
- Write the payload of the object to the DataOutput stream.
- Specified by:
writePayload
in interface Marshaller<org.apache.activemq.store.kahadb.MessageDatabase.LastAck>
- Throws:
java.io.IOException
readPayload
public org.apache.activemq.store.kahadb.MessageDatabase.LastAck readPayload(java.io.DataInput dataIn)
throws java.io.IOException
- Description copied from interface:
Marshaller
- Read the payload of the object from the DataInput stream.
- Specified by:
readPayload
in interface Marshaller<org.apache.activemq.store.kahadb.MessageDatabase.LastAck>
- Returns:
- unmarshalled object
- Throws:
java.io.IOException
getFixedSize
public int getFixedSize()
- Specified by:
getFixedSize
in interface Marshaller<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:
deepCopy
in interface Marshaller<org.apache.activemq.store.kahadb.MessageDatabase.LastAck>
- Returns:
- a deep copy of the source object.
isDeepCopySupported
public boolean isDeepCopySupported()
- Specified by:
isDeepCopySupported
in interface Marshaller<org.apache.activemq.store.kahadb.MessageDatabase.LastAck>
- Returns:
- true if the
Marshaller.deepCopy(Object)
operations is supported.
Copyright © 2005-2016. All Rights Reserved.