summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2010-09-27 10:14:54 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2010-09-27 10:14:54 +0100
commitf19c3300d2861f9c266be1d4f7c99a10b8fbe9e6 (patch)
tree18797b8a5cd5a11e0489a11f6ad696becb7473e4 /include
parent252e077e3c86608c22261918f4a6957da218e266 (diff)
downloadrabbitmq-server-f19c3300d2861f9c266be1d4f7c99a10b8fbe9e6.tar.gz
no performance penalty when *not* using confirms
Diffstat (limited to 'include')
-rw-r--r--include/rabbit_backing_queue_spec.hrl7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl
index 005994f0..c01e9246 100644
--- a/include/rabbit_backing_queue_spec.hrl
+++ b/include/rabbit_backing_queue_spec.hrl
@@ -43,9 +43,10 @@
-spec(terminate/1 :: (state()) -> state()).
-spec(delete_and_terminate/1 :: (state()) -> state()).
-spec(purge/1 :: (state()) -> {purged_msg_count(), state()}).
--spec(publish/2 :: (rabbit_types:basic_message(), state()) -> state()).
--spec(publish_delivered/3 ::
- (ack_required(), rabbit_types:basic_message(), state()) -> {ack(), state()}).
+-spec(publish/3 :: (rabbit_types:basic_message(), boolean(), state()) -> state()).
+-spec(publish_delivered/4 ::
+ (ack_required(), rabbit_types:basic_message(), boolean(), state())
+ -> {ack(), state()}).
-spec(fetch/2 :: (ack_required(), state()) -> {fetch_result(), state()}).
-spec(ack/2 :: ([ack()], state()) -> state()).
-spec(tx_publish/3 :: (rabbit_types:txn(), rabbit_types:basic_message(), state()) -> state()).