summaryrefslogtreecommitdiff
path: root/include/rabbit.hrl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2010-07-16 14:52:26 +0100
committerSimon MacMullen <simon@rabbitmq.com>2010-07-16 14:52:26 +0100
commitde6f13d562d9a63c1df99fb779cc55206073832a (patch)
tree834978fc929a41b537b8edded241d45e279bb311 /include/rabbit.hrl
parent507610f99444e187ed7d2c6216d2bbbd0325c138 (diff)
downloadrabbitmq-server-git-de6f13d562d9a63c1df99fb779cc55206073832a.tar.gz
Get queues to emit events for statistics.
Diffstat (limited to 'include/rabbit.hrl')
-rw-r--r--include/rabbit.hrl4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 3fd525686b..b991aa7d54 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -70,6 +70,10 @@
-record(delivery, {mandatory, immediate, txn, sender, message}).
-record(amqp_error, {name, explanation, method = none}).
+-record(event_queue_stats, {q_pid, messages_ready, messages_unacknowledged,
+ consumers, memory, exclusive_consumer_pid,
+ exclusive_consumer_tag, backing_queue_status}).
+
%%----------------------------------------------------------------------------
-define(COPYRIGHT_MESSAGE, "Copyright (C) 2007-2010 LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd.").