diff options
author | Matthew Sackman <matthew@rabbitmq.com> | 2011-06-02 15:40:26 +0100 |
---|---|---|
committer | Matthew Sackman <matthew@rabbitmq.com> | 2011-06-02 15:40:26 +0100 |
commit | 4013096a30291bd1f98b6016e018f405c7dbe0f8 (patch) | |
tree | b387fa6fa21e9e0db3aa7d54c8ec2651f0fab217 /include/rabbit_backing_queue_spec.hrl | |
parent | 3b57619d1e4b2ed349390f82e68ba8ae2517c425 (diff) | |
download | rabbitmq-server-4013096a30291bd1f98b6016e018f405c7dbe0f8.tar.gz |
Reduce diff from bug23554: Extend backing queue api to present reason for termination
Diffstat (limited to 'include/rabbit_backing_queue_spec.hrl')
-rw-r--r-- | include/rabbit_backing_queue_spec.hrl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl index 1c2b94e2..295d9039 100644 --- a/include/rabbit_backing_queue_spec.hrl +++ b/include/rabbit_backing_queue_spec.hrl @@ -32,8 +32,8 @@ -spec(stop/0 :: () -> 'ok'). -spec(init/4 :: (rabbit_types:amqqueue(), attempt_recovery(), async_callback(), sync_callback()) -> state()). --spec(terminate/1 :: (state()) -> state()). --spec(delete_and_terminate/1 :: (state()) -> state()). +-spec(terminate/2 :: (any(), state()) -> state()). +-spec(delete_and_terminate/2 :: (any(), state()) -> state()). -spec(purge/1 :: (state()) -> {purged_msg_count(), state()}). -spec(publish/4 :: (rabbit_types:basic_message(), rabbit_types:message_properties(), pid(), state()) -> |