API to manage enqueued jobs.
API to manage enqueued jobs. - [API wiki](https://github.com/nilenso/goose/wiki/API)
(delete broker job)
Deletes given Job from its queue.
Deletes given Job from its queue.
(find-by-id broker queue id)
Finds a Job by :id
in given queue.
Finds a Job by `:id` in given queue.
(find-by-pattern broker queue match?)
(find-by-pattern broker queue match? limit)
Finds a Job by user-defined parameters in given queue.
If limit isn't mentioned, defaults to 10.
Finds a Job by user-defined parameters in given queue.\ If limit isn't mentioned, defaults to 10.
(list-all-queues broker)
Lists all the queues.
Lists all the queues.
(prioritise-execution broker job)
Brings a Job anywhere in the queue to front of queue,
after verification of existence.
Hence, this accepts only 1 job instead of multiple.
Brings a Job anywhere in the queue to front of queue, after verification of existence.\ Hence, this accepts only 1 job instead of multiple.
(purge broker queue)
Purges all the Jobs in given queue.
Purges all the Jobs in given queue.
(size broker queue)
Returns count of Jobs in given queue.
Returns count of Jobs in given queue.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close