Liking cljdoc? Tell your friends :D

com.timezynk.domus.mongo.queue.metrics


acquireclj

(acquire queue)

lengthclj

(length queue)

Number of jobs in the queue.

Number of jobs in the queue.
raw docstring

mark-drainedclj

(mark-drained queue)

Reports to Prometheus that the queue has been drained.

Reports to Prometheus that the queue has been drained.
raw docstring

releaseclj

(release queue)

reportcljmacro

(report queue job handle-form)

Wraps handle-form such as to log the event and record statistics.

Wraps `handle-form` such as to log the event and record statistics.
raw docstring

report-job-statsclj

(report-job-stats queue job run-time wait-time)

Reports to Prometheus on the processing of job. Expects time in milliseconds.

Reports to Prometheus on the processing of `job`.
Expects time in milliseconds.
raw docstring

threadclj

(thread queue)

Creates, starts and returns a thread which runs the polling/reporting loop.

Creates, starts and returns a thread which runs the polling/reporting loop.
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close