diff options
author | Rob Harrop <rob@rabbitmq.com> | 2011-06-20 14:16:02 +0100 |
---|---|---|
committer | Rob Harrop <rob@rabbitmq.com> | 2011-06-20 14:16:02 +0100 |
commit | 736f88b1ef60ad3ed2f5e606ff457f508f8425c2 (patch) | |
tree | d8ad501936a0d5f5fca5cb139a053843ad1743f3 /include/rabbit_backing_queue_spec.hrl | |
parent | 7a37aa6720dc1805568e856e5db5d2840ce33be6 (diff) | |
download | rabbitmq-server-736f88b1ef60ad3ed2f5e606ff457f508f8425c2.tar.gz |
Tweaked read_msg_callback to not increment RamMsgCount and cleaned it up at the same time
Diffstat (limited to 'include/rabbit_backing_queue_spec.hrl')
-rw-r--r-- | include/rabbit_backing_queue_spec.hrl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl index 0044174c..fa90eef4 100644 --- a/include/rabbit_backing_queue_spec.hrl +++ b/include/rabbit_backing_queue_spec.hrl @@ -28,12 +28,12 @@ -type(async_callback() :: fun ((atom(), fun ((atom(), state()) -> state())) -> 'ok')). -type(sync_callback() :: fun ((atom(), fun ((atom(), state()) -> state())) -> 'ok' | 'error')). --type(msg_lookup_result() :: {rabbit_types:basic_message(), {any(), state()}}). +-type(msg_lookup_result() :: {rabbit_types:basic_message(), state()}). --type(msg_lookup_fun() :: fun((any(), state()) -> msg_lookup_result())). +-type(msg_lookup_fun() :: fun((state()) -> msg_lookup_result())). -type(msg_lookup_callback() :: - fun((msg_lookup_fun(), {A, state()}) -> {A, state()})). + fun((msg_lookup_fun(), state()) -> state())). -spec(start/1 :: ([rabbit_amqqueue:name()]) -> 'ok'). -spec(stop/0 :: () -> 'ok'). |