diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2011-03-07 14:32:43 +0000 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2011-03-07 14:32:43 +0000 |
| commit | b88c81901a341111163cee50078145df2d31124a (patch) | |
| tree | 2a71008d359987c7f12971349e640fa4ac542a56 | |
| parent | a11606ea43e7efbefbed0f16661424fb85b29d48 (diff) | |
| download | rabbitmq-server-git-b88c81901a341111163cee50078145df2d31124a.tar.gz | |
document bq init params
| -rw-r--r-- | src/rabbit_backing_queue.erl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/rabbit_backing_queue.erl b/src/rabbit_backing_queue.erl index b06f1e9cf8..dfee2ee37e 100644 --- a/src/rabbit_backing_queue.erl +++ b/src/rabbit_backing_queue.erl @@ -33,6 +33,18 @@ behaviour_info(callbacks) -> {stop, 0}, %% Initialise the backing queue and its state. + %% + %% Takes + %% 1. the queue name + %% 2. a boolean indicating whether the queue is durable + %% 3. a boolean indicating whether the queue is an existing queue + %% that should be recovered + %% 4. an asynchronous callback which can be invoked by the + %% backing queue when an event has occured that requires a + %% state transition. The callback accepts a function from + %% state to state. + %% 5. a synchronous callback. Same as the asynchronous callback + %% but waits for completion and returns 'error' on error. {init, 5}, %% Called on queue shutdown when queue isn't being deleted. |
