diff options
| author | Matthew Sackman <matthew@rabbitmq.com> | 2010-11-30 12:05:37 +0000 |
|---|---|---|
| committer | Matthew Sackman <matthew@rabbitmq.com> | 2010-11-30 12:05:37 +0000 |
| commit | 755a485ad914deee022a869f7ed2ae1a268cc11b (patch) | |
| tree | d1b5e110cef9cae9cb869bc42626012c348f1bb5 /include | |
| parent | 1159352cb2bc1c0f8e2640d9e2754d2e88a42e1f (diff) | |
| download | rabbitmq-server-git-755a485ad914deee022a869f7ed2ae1a268cc11b.tar.gz | |
Exposing the publishing chpid right through to the BQ (and tidying up tests/types/specs)
Diffstat (limited to 'include')
| -rw-r--r-- | include/rabbit_backing_queue_spec.hrl | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl index 7b7f388529..fd6d6b8a3f 100644 --- a/include/rabbit_backing_queue_spec.hrl +++ b/include/rabbit_backing_queue_spec.hrl @@ -47,18 +47,20 @@ -spec(terminate/1 :: (state()) -> state()). -spec(delete_and_terminate/1 :: (state()) -> state()). -spec(purge/1 :: (state()) -> {purged_msg_count(), state()}). --spec(publish/3 :: (rabbit_types:basic_message(), - rabbit_types:message_properties(), state()) -> state()). --spec(publish_delivered/4 :: (ack_required(), rabbit_types:basic_message(), - rabbit_types:message_properties(), state()) +-spec(publish/4 :: (rabbit_types:basic_message(), + rabbit_types:message_properties(), pid(), state()) + -> state()). +-spec(publish_delivered/5 :: (ack_required(), rabbit_types:basic_message(), + rabbit_types:message_properties(), pid(), state()) -> {ack(), state()}). -spec(dropwhile/2 :: (fun ((rabbit_types:message_properties()) -> boolean()), state()) -> state()). -spec(fetch/2 :: (ack_required(), state()) -> {fetch_result(), state()}). -spec(ack/2 :: ([ack()], state()) -> state()). --spec(tx_publish/4 :: (rabbit_types:txn(), rabbit_types:basic_message(), - rabbit_types:message_properties(), state()) -> state()). +-spec(tx_publish/5 :: (rabbit_types:txn(), rabbit_types:basic_message(), + rabbit_types:message_properties(), pid(), state()) -> + state()). -spec(tx_ack/3 :: (rabbit_types:txn(), [ack()], state()) -> state()). -spec(tx_rollback/2 :: (rabbit_types:txn(), state()) -> {[ack()], state()}). -spec(tx_commit/4 :: |
