diff options
author | Gordon Sim <gsim@apache.org> | 2006-12-06 17:51:42 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2006-12-06 17:51:42 +0000 |
commit | f2d0f0cfbfebb082e92f28b8d1b2987a0f20acf6 (patch) | |
tree | d71e0a7854dcfbef75040ee426b53f6369e0cc7a /cpp/lib/broker/MessageStoreModule.cpp | |
parent | f8c692d37104a95ad245402ffe0d7d6b7c4ea816 (diff) | |
download | qpid-python-f2d0f0cfbfebb082e92f28b8d1b2987a0f20acf6.tar.gz |
Allow non-durable messages to be lazy-loaded. Cleanup of lazy-loaded messages
that are never enqueued.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@483165 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/broker/MessageStoreModule.cpp')
-rw-r--r-- | cpp/lib/broker/MessageStoreModule.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/lib/broker/MessageStoreModule.cpp b/cpp/lib/broker/MessageStoreModule.cpp index b3f5d6e63c..1952786014 100644 --- a/cpp/lib/broker/MessageStoreModule.cpp +++ b/cpp/lib/broker/MessageStoreModule.cpp @@ -43,12 +43,12 @@ void MessageStoreModule::recover(RecoveryManager& registry, const MessageStoreSe store->recover(registry, settings); } -void MessageStoreModule::stage(Message::shared_ptr& msg) +void MessageStoreModule::stage(Message* const msg) { store->stage(msg); } -void MessageStoreModule::destroy(Message::shared_ptr& msg) +void MessageStoreModule::destroy(Message* const msg) { store->destroy(msg); } @@ -63,12 +63,12 @@ void MessageStoreModule::loadContent(Message* const msg, string& data, u_int64_t store->loadContent(msg, data, offset, length); } -void MessageStoreModule::enqueue(TransactionContext* ctxt, Message::shared_ptr& msg, const Queue& queue, const string * const xid) +void MessageStoreModule::enqueue(TransactionContext* ctxt, Message* const msg, const Queue& queue, const string * const xid) { store->enqueue(ctxt, msg, queue, xid); } -void MessageStoreModule::dequeue(TransactionContext* ctxt, Message::shared_ptr& msg, const Queue& queue, const string * const xid) +void MessageStoreModule::dequeue(TransactionContext* ctxt, Message* const msg, const Queue& queue, const string * const xid) { store->dequeue(ctxt, msg, queue, xid); } |