Liking cljdoc? Tell your friends :D

puppetlabs.trapperkeeper.services.scheduler.scheduler-core


afterclj

(after n f scheduler group-name)
source

build-executable-jobclj

(build-executable-job f job-name group-name)
(build-executable-job f job-name group-name options)
source

create-schedulerclj

(create-scheduler thread-count)

Creates and returns a scheduler with configured thread pool which can be used for scheduling jobs.

Creates and returns a scheduler with configured thread pool which
can be used for scheduling jobs.
sourceraw docstring

cronclj

(cron cron-string f scheduler group-name)
source

cron-next-valid-timeclj

(cron-next-valid-time cron-string date)

Returns the next occurance of the cron specification after the given date

Returns the next occurance of the cron specification after the given date
sourceraw docstring

get-all-jobsclj

(get-all-jobs scheduler)
source

get-jobs-in-groupclj

(get-jobs-in-group scheduler group-id)
source

interspacedclj

(interspaced n f scheduler group-name)
source

intervalclj

(interval scheduler repeat-delay f group-name)
source

interval-afterclj

(interval-after scheduler initial-delay repeat-delay f group-name)
source

shutdown-timeout-secclj

source

stop-all-jobs!clj

(stop-all-jobs! scheduler)
source

stop-jobclj

(stop-job id scheduler)

Returns true, if the job was deleted, and false if the job wasn't found.

Returns true, if the job was deleted, and false if the job wasn't found.
sourceraw docstring

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

× close