org.apache.qpid.server.store
Class StoredMemoryMessage
java.lang.Object
org.apache.qpid.server.store.StoredMemoryMessage
- All Implemented Interfaces:
- StoredMessage
public class StoredMemoryMessage
- extends Object
- implements StoredMessage
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StoredMemoryMessage
public StoredMemoryMessage(long messageNumber,
StorableMessageMetaData metaData)
getMessageNumber
public long getMessageNumber()
- Specified by:
getMessageNumber
in interface StoredMessage
addContent
public void addContent(int offsetInMessage,
ByteBuffer src)
- Specified by:
addContent
in interface StoredMessage
getContent
public int getContent(int offset,
ByteBuffer dst)
- Specified by:
getContent
in interface StoredMessage
flushToStore
public TransactionLog.StoreFuture flushToStore()
- Specified by:
flushToStore
in interface StoredMessage
getMetaData
public StorableMessageMetaData getMetaData()
- Specified by:
getMetaData
in interface StoredMessage
remove
public void remove()
- Specified by:
remove
in interface StoredMessage
Licensed to the Apache Software Foundation