From f2d0f0cfbfebb082e92f28b8d1b2987a0f20acf6 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 6 Dec 2006 17:51:42 +0000 Subject: 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 --- cpp/lib/broker/MessageStoreModule.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpp/lib/broker/MessageStoreModule.h') diff --git a/cpp/lib/broker/MessageStoreModule.h b/cpp/lib/broker/MessageStoreModule.h index d70aab6d13..fcff71bd35 100644 --- a/cpp/lib/broker/MessageStoreModule.h +++ b/cpp/lib/broker/MessageStoreModule.h @@ -39,12 +39,12 @@ namespace qpid { void create(const Queue& queue, const qpid::framing::FieldTable& settings); void destroy(const Queue& queue); void recover(RecoveryManager& queues, const MessageStoreSettings* const settings = 0); - void stage(Message::shared_ptr& msg); - void destroy(Message::shared_ptr& msg); + void stage(Message* const msg); + void destroy(Message* const msg); void appendContent(Message* const msg, const std::string& data); void loadContent(Message* const msg, std::string& data, u_int64_t offset, u_int32_t length); - void enqueue(TransactionContext* ctxt, Message::shared_ptr& msg, const Queue& queue, const string * const xid); - void dequeue(TransactionContext* ctxt, Message::shared_ptr& msg, const Queue& queue, const string * const xid); + void enqueue(TransactionContext* ctxt, Message* const msg, const Queue& queue, const string * const xid); + void dequeue(TransactionContext* ctxt, Message* const msg, const Queue& queue, const string * const xid); void committed(const string * const xid); void aborted(const string * const xid); std::auto_ptr begin(); -- cgit v1.2.1