From 75e9139d60bc049fabf9b3b779ddd157bb5160bb Mon Sep 17 00:00:00 2001 From: Kim van der Riet Date: Tue, 24 Jul 2012 18:27:54 +0000 Subject: QPID-3858: WIP: Renamed AsyncTransaction to AsyncTransactionalStore; changed some of the broker contexts to more specific classes. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1365207 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/asyncStore/AsyncStoreImpl.h | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'cpp/src/qpid/asyncStore/AsyncStoreImpl.h') diff --git a/cpp/src/qpid/asyncStore/AsyncStoreImpl.h b/cpp/src/qpid/asyncStore/AsyncStoreImpl.h index 7dee03dc6d..3e29039aea 100644 --- a/cpp/src/qpid/asyncStore/AsyncStoreImpl.h +++ b/cpp/src/qpid/asyncStore/AsyncStoreImpl.h @@ -42,7 +42,9 @@ class Poller; namespace asyncStore { -class AsyncStoreImpl : public qpid::broker::AsyncStore { +class AsyncStoreImpl : public qpid::broker::AsyncTransactionalStore, + public qpid::broker::AsyncStore +{ public: AsyncStoreImpl(boost::shared_ptr poller, const AsyncStoreOptions& opts); @@ -63,11 +65,11 @@ public: qpid::broker::TxnBuffer* tb); void submitPrepare(qpid::broker::TxnHandle& txnHandle, - boost::shared_ptr brokerCtxt); + boost::shared_ptr TxnCtxt); void submitCommit(qpid::broker::TxnHandle& txnHandle, - boost::shared_ptr brokerCtxt); + boost::shared_ptr TxnCtxt); void submitAbort(qpid::broker::TxnHandle& txnHandle, - boost::shared_ptr brokerCtxt); + boost::shared_ptr TxnCtxt); // --- Interface from AsyncStore --- @@ -89,11 +91,11 @@ public: void submitCreate(qpid::broker::QueueHandle& queueHandle, const qpid::broker::DataSource* const dataSrc, - boost::shared_ptr brokerCtxt); + boost::shared_ptr QueueCtxt); void submitDestroy(qpid::broker::QueueHandle& queueHandle, - boost::shared_ptr brokerCtxt); + boost::shared_ptr QueueCtxt); void submitFlush(qpid::broker::QueueHandle& queueHandle, - boost::shared_ptr brokerCtxt); + boost::shared_ptr QueueCtxt); void submitCreate(qpid::broker::EventHandle& eventHandle, const qpid::broker::DataSource* const dataSrc, @@ -105,10 +107,10 @@ public: void submitEnqueue(qpid::broker::EnqueueHandle& enqHandle, qpid::broker::TxnHandle& txnHandle, - boost::shared_ptr brokerCtxt); + boost::shared_ptr QueueCtxt); void submitDequeue(qpid::broker::EnqueueHandle& enqHandle, qpid::broker::TxnHandle& txnHandle, - boost::shared_ptr brokerCtxt); + boost::shared_ptr QueueCtxt); // Legacy - Restore FTD message, is NOT async! virtual int loadContent(qpid::broker::MessageHandle& msgHandle, -- cgit v1.2.1