Liking cljdoc? Tell your friends :D

tech.queue


*static-queue-options*clj


*url-parts->queue*clj


complete!clj

(complete! url task & [options])

Complete a task. Tasks, once taken, are only temporarily invisible. In order to remove a task from a queue it must be successfully completed.

Complete a task.  Tasks, once taken, are only temporarily invisible.
In order to remove a task from a queue it must be successfully completed.
raw docstring

delete-queue!clj

(delete-queue! url & [options])

Delete a queue. Not supported across all queue providers.

Delete a queue.  Not supported across all queue providers.
raw docstring

msg->birthdateclj

(msg->birthdate url msg & [options])

Queues always place birthdates on messages if they are not already on them.

Queues always place birthdates on messages if they are not already on them.
raw docstring

pmap-queueclj

(pmap-queue url num-threads processing-fn & [options])

Create an infinite sequence of results of reading from the queue. Tasks that fail to process will be reprocessed according to the visibility timeout member of options. See protocols.clj.

Result will be infinite unless the queue itself gets deleted.

Create an infinite sequence of results of reading from the queue.  Tasks that fail to process
will be reprocessed according to the visibility timeout member of options.  See protocols.clj.

Result will be infinite unless the queue itself gets deleted.
raw docstring

put!clj

(put! url msg & [options])

Place a msg in a queue

Place a msg in a queue
raw docstring

queue->task-seq-detailsclj

(queue->task-seq-details url
                         {:keys [receive-message-wait-time-seconds]
                          :or {receive-message-wait-time-seconds 10}
                          :as options})

Convert a queue to a task sequence. Processors must call complete! on each task in order to remove it from the queue.

Convert a queue to a task sequence.  Processors must call complete! on each task
in order to remove it from the queue.
raw docstring

seq->queue!clj

(seq->queue! url options data-seq)

Place a sequence into a queue. Blocking operation, exceptions are propagated to callers.

Place a sequence into a queue.  Blocking operation, exceptions are propagated to
callers.
raw docstring

statsclj

(stats url & [options])

Retrieve information about the queue. Returns a map containing: :in-flight (required, integer) - Number of items in flight in the queue.

Retrieve information about the queue.  Returns a map containing:
:in-flight (required, integer) - Number of items in flight in the queue.
raw docstring

take!clj

(take! url & [options])

Retrive a task from a queue

Retrive a task from a queue
raw docstring

task->msgclj

(task->msg url task & [options])

Conversion of a task to a message

Conversion of a task to a message
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close