diff options
| author | Carl C. Trieloff <cctrieloff@apache.org> | 2007-10-19 01:33:24 +0000 |
|---|---|---|
| committer | Carl C. Trieloff <cctrieloff@apache.org> | 2007-10-19 01:33:24 +0000 |
| commit | bfcdddb9af408b62ae4d2689611be8763df45e0c (patch) | |
| tree | 8c1c57dab5138134f66090d1fe8b1c13ffa9a0e3 /cpp/src/qpid/broker/MessageStoreModule.h | |
| parent | 442a703034b4b08ac3ccc167db915356d796272b (diff) | |
| download | qpid-python-bfcdddb9af408b62ae4d2689611be8763df45e0c.tar.gz | |
- added init for dir and async options for store
- added flush for queue for async processing
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@586207 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/MessageStoreModule.h')
| -rw-r--r-- | cpp/src/qpid/broker/MessageStoreModule.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/MessageStoreModule.h b/cpp/src/qpid/broker/MessageStoreModule.h index a983957b5e..43772bf98c 100644 --- a/cpp/src/qpid/broker/MessageStoreModule.h +++ b/cpp/src/qpid/broker/MessageStoreModule.h @@ -38,6 +38,7 @@ class MessageStoreModule : public MessageStore public: MessageStoreModule(const std::string& name); + void init(const std::string& dir, const bool async); std::auto_ptr<TransactionContext> begin(); std::auto_ptr<TPCTransactionContext> begin(const std::string& xid); void prepare(TPCTransactionContext& txn); @@ -62,7 +63,8 @@ public: void enqueue(TransactionContext* ctxt, PersistableMessage& msg, const PersistableQueue& queue); void dequeue(TransactionContext* ctxt, PersistableMessage& msg, const PersistableQueue& queue); u_int32_t outstandingQueueAIO(const PersistableQueue& queue); - + void flush(const qpid::broker::PersistableQueue& queue); + ~MessageStoreModule(){} }; |
