diff options
| author | Tim Watson <watson.timothy@gmail.com> | 2014-01-09 16:53:58 +0000 |
|---|---|---|
| committer | Tim Watson <watson.timothy@gmail.com> | 2014-01-09 16:53:58 +0000 |
| commit | 308eea3e92576ab2057a4ce9cd67c5a410d37b2e (patch) | |
| tree | 8e2232d35270d11caa0735292f7c22edec9df631 /src | |
| parent | caa4a6a5a50994a317cf7d52992c541907e82c03 (diff) | |
| download | rabbitmq-server-git-308eea3e92576ab2057a4ce9cd67c5a410d37b2e.tar.gz | |
Improve the backing queue API module documentation
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_backing_queue.erl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/rabbit_backing_queue.erl b/src/rabbit_backing_queue.erl index 9943d73290..3c620d971e 100644 --- a/src/rabbit_backing_queue.erl +++ b/src/rabbit_backing_queue.erl @@ -53,8 +53,11 @@ %% Takes %% 1. the amqqueue record %% 2. a term indicating whether the queue is an existing queue that -%% should be recovered or not, possibly containing recovery terms -%% to be used in the recovery process +%% should be recovered or not. When 'new' is given, no recovery is +%% taking place, otherwise a tuple containing the process id of a +%% "barrier process" (on which to wait for a {BarrierPid, 'go'} +%% notification) is passed as the first element, whilst the second +%% holds either a list of recovery terms or the atom 'non_clean_shutdown'. %% 3. an asynchronous callback which accepts a function of type %% backing-queue-state to backing-queue-state. This callback %% function can be safely invoked from any process, which makes it |
