diff options
| author | Matthew Sackman <matthew@rabbitmq.com> | 2011-04-07 13:29:28 +0100 |
|---|---|---|
| committer | Matthew Sackman <matthew@rabbitmq.com> | 2011-04-07 13:29:28 +0100 |
| commit | 3376cc7697174d530058fd4522417bc6037d992a (patch) | |
| tree | 8081f6988eba451cb9cc7dfaf9ae5fda891c88d2 /include | |
| parent | 158f5e7a918d1ef5b16a8a9c0cd9fa097d908a15 (diff) | |
| download | rabbitmq-server-git-3376cc7697174d530058fd4522417bc6037d992a.tar.gz | |
Add BQ:discard, correct BQ:is_duplicate, finally fix the last bits of immediate delivery, though hopefully in a way which has not leaked through to the lower layers...
Diffstat (limited to 'include')
| -rw-r--r-- | include/rabbit_backing_queue_spec.hrl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl index f5e441dc72..b0c5f13b03 100644 --- a/include/rabbit_backing_queue_spec.hrl +++ b/include/rabbit_backing_queue_spec.hrl @@ -72,4 +72,5 @@ -spec(status/1 :: (state()) -> [{atom(), any()}]). -spec(invoke/3 :: (atom(), fun ((atom(), A) -> A), state()) -> state()). -spec(is_duplicate/2 :: (rabbit_types:basic_message(), state()) -> - {boolean(), state()}). + {'false'|'published'|'discarded', state()}). +-spec(discard/3 :: (rabbit_types:basic_message(), pid(), state()) -> state()). |
