diff options
author | Kim van der Riet <kpvdr@apache.org> | 2012-07-31 13:35:53 +0000 |
---|---|---|
committer | Kim van der Riet <kpvdr@apache.org> | 2012-07-31 13:35:53 +0000 |
commit | 63c6598f401ac6406e5a31c602c7892b798536fc (patch) | |
tree | 73b3c1a519ada213c9e117244aab99d2e64d4f2a /cpp/src/qpid/broker/AsyncStore.h | |
parent | b435b07eb8fa9db484f85b39daaf43642dd623ca (diff) | |
download | qpid-python-63c6598f401ac6406e5a31c602c7892b798536fc.tar.gz |
QPID-3858: WIP: Durable transactions fixed
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1367535 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/AsyncStore.h')
-rw-r--r-- | cpp/src/qpid/broker/AsyncStore.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/cpp/src/qpid/broker/AsyncStore.h b/cpp/src/qpid/broker/AsyncStore.h index 5fb2e0a1eb..6f1c02e059 100644 --- a/cpp/src/qpid/broker/AsyncStore.h +++ b/cpp/src/qpid/broker/AsyncStore.h @@ -36,7 +36,6 @@ class AsyncResultHandle; class AsyncResultQueue { public: virtual ~AsyncResultQueue() {} - // TODO: Remove boost::shared_ptr<> from this interface virtual void submit(boost::shared_ptr<AsyncResultHandle>) = 0; }; @@ -79,11 +78,12 @@ public: virtual TxnHandle createTxnHandle() = 0; virtual TxnHandle createTxnHandle(TxnBuffer* tb) = 0; - virtual TxnHandle createTxnHandle(const std::string& xid) = 0; virtual TxnHandle createTxnHandle(const std::string& xid, - TxnBuffer* tb) = 0; + const bool tpcFlag) = 0; + virtual TxnHandle createTxnHandle(const std::string& xid, + const bool tpcFlag, + TxnBuffer* tb) = 0; - // TODO: Remove boost::shared_ptr<BrokerAsyncContext> from this interface virtual void submitPrepare(TxnHandle&, boost::shared_ptr<TpcTxnAsyncContext>) = 0; // Distributed txns only virtual void submitCommit(TxnHandle&, @@ -112,8 +112,6 @@ public: // --- Store async interface --- - // TODO: Remove boost::shared_ptr<BrokerAsyncContext> from this interface - // TODO: Switch from BrokerAsyncContext (parent class) to ConfigAsyncContext // when theses features (and async context classes) are developed. virtual void submitCreate(ConfigHandle&, |