summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/Queue.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-10-13 17:09:06 +0000
committerGordon Sim <gsim@apache.org>2008-10-13 17:09:06 +0000
commitd2030e43d1d2a68c37ed7c780f336f81a8b16064 (patch)
tree04f700ed0325eee6bfa5f750a3cc217c705f6c96 /cpp/src/qpid/broker/Queue.h
parent81e78eba4d75597a470356eebde654f14acdcc87 (diff)
downloadqpid-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.h1
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);