diff options
| author | Matthew Sackman <matthew@rabbitmq.com> | 2011-05-18 13:30:32 +0100 |
|---|---|---|
| committer | Matthew Sackman <matthew@rabbitmq.com> | 2011-05-18 13:30:32 +0100 |
| commit | 9b539289a1c122c791112d70f470a696fd5e45f1 (patch) | |
| tree | f4ce93cb2dc0a564c0afba0005af9c28e69c05c9 /include | |
| parent | 3870c1b3ddaf6f147da33d98942a497ad60a8253 (diff) | |
| download | rabbitmq-server-git-9b539289a1c122c791112d70f470a696fd5e45f1.tar.gz | |
BQ:needs_idle_timeout :: State -> Bool ==> BQ:needs_timeout :: State -> (false | idle | timed); which better reflects the different needs
Diffstat (limited to 'include')
| -rw-r--r-- | include/rabbit_backing_queue_spec.hrl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rabbit_backing_queue_spec.hrl b/include/rabbit_backing_queue_spec.hrl index d9296bf631..f43baf0d59 100644 --- a/include/rabbit_backing_queue_spec.hrl +++ b/include/rabbit_backing_queue_spec.hrl @@ -66,7 +66,7 @@ -spec(set_ram_duration_target/2 :: (('undefined' | 'infinity' | number()), state()) -> state()). -spec(ram_duration/1 :: (state()) -> {number(), state()}). --spec(needs_idle_timeout/1 :: (state()) -> boolean()). +-spec(needs_timeout/1 :: (state()) -> 'false' | 'timed' | 'idle'). -spec(idle_timeout/1 :: (state()) -> state()). -spec(handle_pre_hibernate/1 :: (state()) -> state()). -spec(status/1 :: (state()) -> [{atom(), any()}]). |
