diff options
| author | Gordon Sim <gsim@apache.org> | 2006-12-05 13:14:38 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2006-12-05 13:14:38 +0000 |
| commit | 46fb2ad9fbc3694e2a321417ecd839badd7b106e (patch) | |
| tree | dde3c1f64dedb99402f69e34b02d1ba875c962aa /cpp/lib/broker/BrokerMessage.h | |
| parent | 7107d5c1c3c8323d832184fc097a5d9223633d32 (diff) | |
| download | qpid-python-46fb2ad9fbc3694e2a321417ecd839badd7b106e.tar.gz | |
Added queue policy class for controlling when message content should be released from memory.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@482639 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/broker/BrokerMessage.h')
| -rw-r--r-- | cpp/lib/broker/BrokerMessage.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cpp/lib/broker/BrokerMessage.h b/cpp/lib/broker/BrokerMessage.h index 59e146959d..3bf70551d3 100644 --- a/cpp/lib/broker/BrokerMessage.h +++ b/cpp/lib/broker/BrokerMessage.h @@ -23,13 +23,14 @@ #include <memory> #include <boost/shared_ptr.hpp> -#include <ConnectionToken.h> -#include <Content.h> -#include <TxBuffer.h> #include <AMQContentBody.h> #include <AMQHeaderBody.h> #include <BasicHeaderProperties.h> +#include <ConnectionToken.h> +#include <Content.h> #include <OutputHandler.h> +#include <Mutex.h> +#include <TxBuffer.h> namespace qpid { namespace broker { @@ -52,6 +53,7 @@ namespace qpid { std::auto_ptr<Content> content; u_int64_t size; u_int64_t persistenceId; + qpid::sys::Mutex contentLock; void sendContent(qpid::framing::OutputHandler* out, int channel, u_int32_t framesize); |
