diff options
author | Gordon Sim <gsim@apache.org> | 2008-10-13 17:09:06 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2008-10-13 17:09:06 +0000 |
commit | d2030e43d1d2a68c37ed7c780f336f81a8b16064 (patch) | |
tree | 04f700ed0325eee6bfa5f750a3cc217c705f6c96 /cpp/src/qpid/broker/Queue.h | |
parent | 81e78eba4d75597a470356eebde654f14acdcc87 (diff) | |
download | qpid-python-d2030e43d1d2a68c37ed7c780f336f81a8b16064.tar.gz |
Periodically purge expired messages from queues
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@704166 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Queue.h')
-rw-r--r-- | cpp/src/qpid/broker/Queue.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/Queue.h b/cpp/src/qpid/broker/Queue.h index 9a7c90181c..fc628bbbc0 100644 --- a/cpp/src/qpid/broker/Queue.h +++ b/cpp/src/qpid/broker/Queue.h @@ -189,6 +189,7 @@ namespace qpid { void cancel(Consumer::shared_ptr c); uint32_t purge(const uint32_t purge_request = 0); //defaults to all messages + void purgeExpired(); //move qty # of messages to destination Queue destq uint32_t move(const Queue::shared_ptr destq, uint32_t qty); |