diff options
| author | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-09-27 10:14:54 +0100 |
|---|---|---|
| committer | Alexandru Scvortov <alexandru@rabbitmq.com> | 2010-09-27 10:14:54 +0100 |
| commit | 5e9afe6f89fbd5c06fd0b48486a6c2b0775652b9 (patch) | |
| tree | 18797b8a5cd5a11e0489a11f6ad696becb7473e4 /include | |
| parent | e49f833515b536a51af2a1881fc095348d620c96 (diff) | |
| download | rabbitmq-server-git-5e9afe6f89fbd5c06fd0b48486a6c2b0775652b9.tar.gz | |
no performance penalty when *not* using confirms
Diffstat (limited to 'include')
| -rw-r--r-- | include/rabbit_backing_queue_spec.hrl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl index 005994f09f..c01e924688 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()). |
