diff options
author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2011-08-05 11:17:22 +0100 |
---|---|---|
committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2011-08-05 11:17:22 +0100 |
commit | 11642d7c3a9a07fafb1ed4b7048f48bc35183e33 (patch) | |
tree | 43170f3bde7c85fd6f1fa43d51052c1335094440 | |
parent | 7203cdc9822f3c72868cb0759435f27c046bef37 (diff) | |
download | rabbitmq-server-11642d7c3a9a07fafb1ed4b7048f48bc35183e33.tar.gz |
channels and amqqueue_process specs up to date
Nothing to do in channel.
-rw-r--r-- | src/rabbit_amqqueue_process.erl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl index fe169895..70f86543 100644 --- a/src/rabbit_amqqueue_process.erl +++ b/src/rabbit_amqqueue_process.erl @@ -29,12 +29,12 @@ -export([start_link/1, info_keys/0]). +-export([init_with_backing_queue_state/7]). + -export([init/1, terminate/2, code_change/3, handle_call/3, handle_cast/2, handle_info/2, handle_pre_hibernate/1, prioritise_call/3, prioritise_cast/2, prioritise_info/2, format_message_queue/2]). --export([init_with_backing_queue_state/7]). - %% Queue's state -record(q, {q, exclusive_consumer, @@ -68,7 +68,12 @@ -ifdef(use_specs). --spec(info_keys/0 :: () -> [atom(),...]). +-spec(start_link/1 :: + (rabbit_types:amqqueue()) -> rabbit_types:ok_pid_or_error()). +-spec(info_keys/0 :: () -> rabbit_types:info_keys()). +-spec(init_with_backing_queue_state/7 :: + (rabbit_types:amqqueue(), atom(), tuple(), any(), set(), + [rabbit_types:delivery()], dict()) -> #q{}). -endif. |