summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2011-11-14 14:36:35 +0000
committerAlexandru Scvortov <alexandru@rabbitmq.com>2011-11-14 14:36:35 +0000
commitbbe604746948bb799fdd496ffb9d49b62ca148b2 (patch)
tree535b825bd9ce66e4c17389cfaaf94d968f5fa8b2 /include
parent12eea5e00a656f2dda3888ff089f7c4d47acb40c (diff)
downloadrabbitmq-server-bbe604746948bb799fdd496ffb9d49b62ca148b2.tar.gz
don't remove rejected message before it is confirmed by the DLQ
Diffstat (limited to 'include')
-rw-r--r--include/rabbit_backing_queue_spec.hrl10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl
index 602f598e..1e870bb7 100644
--- a/include/rabbit_backing_queue_spec.hrl
+++ b/include/rabbit_backing_queue_spec.hrl
@@ -48,14 +48,14 @@
rabbit_types:message_properties(), pid(), state())
-> {undefined, state()}).
-spec(drain_confirmed/1 :: (state()) -> {[rabbit_guid:guid()], state()}).
--spec(dropwhile/4 ::
+-spec(dropwhile/3 ::
(fun ((rabbit_types:message_properties()) -> boolean()),
- msg_fun(), non_neg_integer(), state())
- -> {non_neg_integer(), state()}).
+ msg_fun(), state())
+ -> state()).
-spec(fetch/2 :: (true, state()) -> {fetch_result(ack()), state()};
(false, state()) -> {fetch_result(undefined), state()}).
--spec(ack/4 :: ([ack()], msg_fun(), non_neg_integer(), state()) ->
- {[rabbit_guid:guid()], non_neg_integer(), state()}).
+-spec(ack/3 :: ([ack()], msg_fun(), state()) ->
+ {[rabbit_guid:guid()], state()}).
-spec(requeue/2 :: ([ack()], state())
-> {[rabbit_guid:guid()], state()}).
-spec(len/1 :: (state()) -> non_neg_integer()).