Liking cljdoc? Tell your friends :D

unit.worker


default-worker-exception-handler-prints-to-stderrclj

source

position-catcher7145clj

source

position-catcher7146clj

source

schedule-jobsclj

(schedule-jobs jobs-num job & args)
source

start-workerclj

(start-worker dbspec config)
(start-worker dbspec config timeout)

Starts working on several threads until queue is empty. On timeout worker will be asked to stop. Returns a tuple: worker, vector of acks, elapsed time in msec.

Starts working on several threads until queue is empty.
On timeout worker will be asked to stop.
Returns a tuple: worker, vector of acks, elapsed time in msec.
sourceraw docstring

test-worker-processes-all-jobs-in-order-of-arrivalclj

(test-worker-processes-all-jobs-in-order-of-arrival config)
source

test-worker-with-several-threads-finishes-faster-that-a-single-threaded-workerclj

(test-worker-with-several-threads-finishes-faster-that-a-single-threaded-worker
  queues)
source

with-nil-queues-specified-worker-processes-all-jobs-in-the-order-of-their-arrivalclj

source

with-no-queues-specified-worker-processes-all-jobs-in-the-order-of-their-arrivalclj

source

worker-can-accept-a-db-spec-mapclj

source

worker-can-be-gracefully-stoppedclj

source

worker-can-notify-on-failed-jobsclj

source

worker-does-not-automatically-startclj

source

worker-on-ack-will-be-called-after-on-failclj

source

worker-respects-the-order-of-the-specified-queuesclj

source

worker-with-several-threads-finishes-faster-than-a-single-threaded-workerclj

source

worker-with-several-threads-on-all-queues-finishes-faster-than-a-single-threaded-workerclj

source

worker-with-several-threads-on-several-queues-each-good-job-is-performed-strictly-onceclj

source

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

× close