diff options
author | Rob Harrop <rharrop@vmware.com> | 2010-09-22 18:37:40 +0100 |
---|---|---|
committer | Rob Harrop <rharrop@vmware.com> | 2010-09-22 18:37:40 +0100 |
commit | f8174a443dd985bbf0dac128b21c7d5d84a66499 (patch) | |
tree | 806472840bd0da73628b5da13ff74b592dd72c6f /include/rabbit_backing_queue_spec.hrl | |
parent | 85ce982ea685c47f6546957466f826549452dff0 (diff) | |
download | rabbitmq-server-f8174a443dd985bbf0dac128b21c7d5d84a66499.tar.gz |
reworked how message filtering works with dropwhile
Diffstat (limited to 'include/rabbit_backing_queue_spec.hrl')
-rw-r--r-- | include/rabbit_backing_queue_spec.hrl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl index f417c6d9..3e78d571 100644 --- a/include/rabbit_backing_queue_spec.hrl +++ b/include/rabbit_backing_queue_spec.hrl @@ -30,9 +30,8 @@ %% -type(fetch_result() :: - %% Message, MessageProperties, IsDelivered, AckTag, Remaining_Len + %% Message, IsDelivered, AckTag, Remaining_Len ('empty'|{rabbit_types:basic_message(), - rabbit_types:msg_properties(), boolean(), ack(), non_neg_integer()})). -type(is_durable() :: boolean()). @@ -54,6 +53,9 @@ -spec(publish_delivered/4 :: (ack_required(), rabbit_types:basic_message(), rabbit_types:msg_properties(), state()) -> {ack(), state()}). +-spec(dropwhile/2 :: + (fun ((rabbit_types:basic_message(), rabbit_types:msg_properties()) + -> boolean()), state()) -> state()). -spec(fetch/2 :: (ack_required(), state()) -> {fetch_result(), state()}). -spec(ack/2 :: ([ack()], state()) -> state()). -spec(tx_publish/4 :: |