summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRob Harrop <rharrop@vmware.com>2010-09-28 16:45:58 +0100
committerRob Harrop <rharrop@vmware.com>2010-09-28 16:45:58 +0100
commit7a98a7066a88073f9b606978b3b748dc427590d9 (patch)
tree65d52a4a5972f4bdf4d86d6f6dc665a4563d2df3 /include
parent5027755b50ca15434d9be5273bff2f89a7750451 (diff)
downloadrabbitmq-server-git-7a98a7066a88073f9b606978b3b748dc427590d9.tar.gz
removed peek, and restructured dropwhile to not load message content from disk
Diffstat (limited to 'include')
-rw-r--r--include/rabbit_backing_queue_spec.hrl5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl
index 6067ac6262..f750fbb2de 100644
--- a/include/rabbit_backing_queue_spec.hrl
+++ b/include/rabbit_backing_queue_spec.hrl
@@ -56,9 +56,8 @@
(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(peek/1 :: (state()) -> {peek_result(), state()}).
+ (fun ((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 ::