summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2010-04-12 12:30:37 +0100
committerMatthew Sackman <matthew@lshift.net>2010-04-12 12:30:37 +0100
commit834f532f059b894f401ef385907fab5c8db29621 (patch)
treebffc96b9f5e42752df1e481c46617d23f30112da /include
parent9f3b55b939b29c46188e7e90937bf8edc204793f (diff)
downloadrabbitmq-server-git-834f532f059b894f401ef385907fab5c8db29621.tar.gz
Combine ram_duration and update_ram_duration
Diffstat (limited to 'include')
-rw-r--r--include/rabbit_backing_queue_type_spec.hrl3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/rabbit_backing_queue_type_spec.hrl b/include/rabbit_backing_queue_type_spec.hrl
index ac47ccba3d..ec6db21847 100644
--- a/include/rabbit_backing_queue_type_spec.hrl
+++ b/include/rabbit_backing_queue_type_spec.hrl
@@ -49,8 +49,7 @@
-spec(is_empty/1 :: (state()) -> boolean()).
-spec(set_ram_duration_target/2 ::
(('undefined' | 'infinity' | number()), state()) -> state()).
--spec(update_ram_duration/1 :: (state()) -> state()).
--spec(ram_duration/1 :: (state()) -> number()).
+-spec(update_ram_duration/1 :: (state()) -> {number(), state()}).
-spec(sync_callback/1 :: (state()) ->
('undefined' | (fun ((A) -> {boolean(), A})))).
-spec(handle_pre_hibernate/1 :: (state()) -> state()).