summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@lshift.net>2010-04-09 16:59:49 +0100
committerMatthew Sackman <matthew@lshift.net>2010-04-09 16:59:49 +0100
commiteefe36bc371f32cb6cf824508e8260f65d94a2bf (patch)
tree4175bd0c04a0925b8ac9e83d8a9562f4bc746849 /include
parent61bdae34fbe1a34f6f9afb7c5003866369d4ce6d (diff)
downloadrabbitmq-server-git-eefe36bc371f32cb6cf824508e8260f65d94a2bf.tar.gz
Converted the maybe_run_queue_via_backing_queue to take a thunk, and also vq:needs_sync => vq:sync_callback
Diffstat (limited to 'include')
-rw-r--r--include/rabbit_backing_queue_type_spec.hrl2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rabbit_backing_queue_type_spec.hrl b/include/rabbit_backing_queue_type_spec.hrl
index 5db43bb612..f0a81aad4d 100644
--- a/include/rabbit_backing_queue_type_spec.hrl
+++ b/include/rabbit_backing_queue_type_spec.hrl
@@ -51,6 +51,6 @@
(('undefined' | 'infinity' | number()), state()) -> state()).
-spec(update_ram_duration/1 :: (state()) -> state()).
-spec(ram_duration/1 :: (state()) -> number()).
--spec(needs_sync/1 :: (state()) -> ('undefined' | {atom(), [any()]})).
+-spec(sync_callback/1 :: (state()) -> ('undefined' | {atom(), [any()]})).
-spec(handle_pre_hibernate/1 :: (state()) -> state()).
-spec(status/1 :: (state()) -> [{atom(), any()}]).