diff options
Diffstat (limited to 'cpp/src/qpid/broker/BrokerQueue.h')
-rw-r--r-- | cpp/src/qpid/broker/BrokerQueue.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/BrokerQueue.h b/cpp/src/qpid/broker/BrokerQueue.h index 4214b4b03f..857a7adfc2 100644 --- a/cpp/src/qpid/broker/BrokerQueue.h +++ b/cpp/src/qpid/broker/BrokerQueue.h @@ -87,6 +87,12 @@ namespace qpid { */ void dispatch(); + protected: + /** + * Call back from store + */ + virtual void notifyDurableIOComplete(); + public: typedef boost::shared_ptr<Queue> shared_ptr; @@ -143,11 +149,11 @@ namespace qpid { bool canAutoDelete() const; - void enqueue(TransactionContext* ctxt, Message::shared_ptr& msg); + bool enqueue(TransactionContext* ctxt, Message::shared_ptr& msg); /** * dequeue from store (only done once messages is acknowledged) */ - void dequeue(TransactionContext* ctxt, Message::shared_ptr& msg); + bool dequeue(TransactionContext* ctxt, Message::shared_ptr& msg); /** * dequeues from memory only */ |