summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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 1e870bb74b..602f598ea7 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/3 ::
+-spec(dropwhile/4 ::
(fun ((rabbit_types:message_properties()) -> boolean()),
- msg_fun(), state())
- -> state()).
+ msg_fun(), non_neg_integer(), state())
+ -> {non_neg_integer(), state()}).
-spec(fetch/2 :: (true, state()) -> {fetch_result(ack()), state()};
(false, state()) -> {fetch_result(undefined), state()}).
--spec(ack/3 :: ([ack()], msg_fun(), state()) ->
- {[rabbit_guid:guid()], state()}).
+-spec(ack/4 :: ([ack()], msg_fun(), non_neg_integer(), state()) ->
+ {[rabbit_guid:guid()], non_neg_integer(), state()}).
-spec(requeue/2 :: ([ack()], state())
-> {[rabbit_guid:guid()], state()}).
-spec(len/1 :: (state()) -> non_neg_integer()).