diff options
| author | Stephen D. Huston <shuston@apache.org> | 2010-10-21 23:09:00 +0000 |
|---|---|---|
| committer | Stephen D. Huston <shuston@apache.org> | 2010-10-21 23:09:00 +0000 |
| commit | 6b7572c57dd663f7b3e21746272a9c04f413c8d1 (patch) | |
| tree | e13c2dfe341dcaf90c5edf067313ee0098357186 /cpp/src/qpid/store/MessageStorePlugin.h | |
| parent | 7ecaee585691df73928e3bb2248d8977372d1041 (diff) | |
| download | qpid-python-6b7572c57dd663f7b3e21746272a9c04f413c8d1.tar.gz | |
Add hybrid SQL-CLFS store that can be used on Windows systems Vista, Win Server 2008 and up - these have the Common Log File System facility. The CLFS store uses CLFS to store/recover messages and transactions instead of SQL. SQL still holds queues, bindings, exchanges, configs.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1026175 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/store/MessageStorePlugin.h')
| -rw-r--r-- | cpp/src/qpid/store/MessageStorePlugin.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/src/qpid/store/MessageStorePlugin.h b/cpp/src/qpid/store/MessageStorePlugin.h index d43e2d3ea8..4a9bb2aecb 100644 --- a/cpp/src/qpid/store/MessageStorePlugin.h +++ b/cpp/src/qpid/store/MessageStorePlugin.h @@ -57,7 +57,7 @@ class MessageStorePlugin : // @TODO Need a mgmt story for this. Maybe allow r/o access to provider store info? public qpid::management::Manageable { public: - MessageStorePlugin() {} + MessageStorePlugin() : broker(0) {} /** * @name Methods inherited from qpid::Plugin @@ -264,6 +264,9 @@ class MessageStorePlugin : // inline management::Manageable::status_t ManagementMethod (uint32_t, management::Args&, std::string&) // { return management::Manageable::STATUS_OK; } + // So storage provider can get the broker info. + broker::Broker *getBroker() { return broker; } + protected: struct StoreOptions : public qpid::Options { @@ -276,6 +279,8 @@ class MessageStorePlugin : ProviderMap providers; ProviderMap::const_iterator provider; + broker::Broker *broker; + }; // class MessageStoreImpl }} // namespace qpid::store |
