Liking cljdoc? Tell your friends :D

clojurewerkz.quartzite.scheduler


add-jobclj

(add-job scheduler job-detail)
(add-job scheduler job-detail replace)

Adds given job to the scheduler with no associated trigger

Adds given job to the scheduler with no associated trigger
sourceraw docstring

add-scheduler-listenerclj

(add-scheduler-listener scheduler listener)

Registers a schedule listener. Use it to hook into Quartz scheduler events

Registers a schedule listener. Use it to hook into Quartz scheduler events
sourceraw docstring

add-triggerclj

(add-trigger scheduler trigger)

Adds given trigger to the scheduled job with which the trigger has been associated

Adds given trigger to the scheduled job with which the trigger has been associated
sourceraw docstring

all-scheduled?clj

(all-scheduled? scheduler & keys)

Returns true if all provided keys (trigger or job) are scheduled

Returns true if all provided keys (trigger or job) are scheduled
sourceraw docstring

clear!clj

(clear! scheduler)

Resets the scheduler by clearing all triggers and jobs from it

Resets the scheduler by clearing all triggers and jobs from it
sourceraw docstring

currently-executing-job?clj

(currently-executing-job? scheduler key)

Returns true if there is currently executing job for the given key

Returns true if there is currently executing job for the given key
sourceraw docstring

delete-jobclj

(delete-job scheduler key)

Deletes the identified job and all triggers associated with it from the scheduler

Deletes the identified job and all triggers associated with it from the scheduler
sourceraw docstring

delete-jobsclj

(delete-jobs scheduler keys)

Remove all of the indicated jobs (and associated triggers) from the scheduler. Bulk equivalent of delete-job

Remove all of the indicated jobs (and associated triggers) from the scheduler. Bulk equivalent of delete-job
sourceraw docstring

delete-triggerclj

(delete-trigger scheduler key)

Removes the indicated trigger from the scheduler. If the related job does not have any other triggers, and the job is not durable, then the job will also be deleted

Removes the indicated trigger from the scheduler. If the related job does not have any other triggers,
and the job is not durable, then the job will also be deleted
sourceraw docstring

delete-triggersclj

(delete-triggers scheduler keys)

Remove all of the indicated triggers from the scheduler

Remove all of the indicated triggers from the scheduler
sourceraw docstring

get-currently-executing-jobsclj

(get-currently-executing-jobs scheduler key)

Returns a set of JobExecutionContext that represent the currently executing jobs for a given key

Returns a set of JobExecutionContext that represent the currently executing jobs for a given key
sourceraw docstring

get-jobclj

(get-job scheduler key)
(get-job scheduler group key)

Returns a JobDetail instance for the given key.

Returns a JobDetail instance for the given key.
sourceraw docstring

get-job-group-namesclj

(get-job-group-names scheduler)

Get the names of all known JobDetail groups.

Get the names of all known JobDetail groups.
sourceraw docstring

get-job-keysclj

(get-job-keys scheduler gm)

Returns a set of keys that match the given group matcher. Commonly used with the functions in the clojurewerkz.quartzite.matchers.* namespace.

Returns a set of keys that match the given group matcher. Commonly used with the functions in the clojurewerkz.quartzite.matchers.*
namespace.
sourceraw docstring

get-jobsclj

(get-jobs scheduler keys)

Returns a set of JobDetail instances for the given collection of keys.

Returns a set of JobDetail instances for the given collection of keys.
sourceraw docstring

get-matching-jobsclj

(get-matching-jobs scheduler gm)

Returns a set of JobDetail instances with keys that match the given group matcher. Commonly used with the functions in the clojurewerkz.quartzite.matchers.* namespace.

Returns a set of JobDetail instances with keys that match the given group matcher.
Commonly used with the functions in the clojurewerkz.quartzite.matchers.* namespace.
sourceraw docstring

get-matching-triggersclj

(get-matching-triggers scheduler gm)

Returns a set of Trigger instances with keys that match the given group matcher. Commonly used with the functions in the clojurewerkz.quartzite.matchers.* namespace.

Returns a set of Trigger instances with keys that match the given group matcher.
Commonly used with the functions in the clojurewerkz.quartzite.matchers.* namespace.
sourceraw docstring

get-triggerclj

(get-trigger scheduler key)
(get-trigger scheduler group key)

Returns a Trigger instance for the given key.

Returns a Trigger instance for the given key.
sourceraw docstring

get-trigger-group-namesclj

(get-trigger-group-names scheduler)

Get the names of all known Trigger groups.

Get the names of all known Trigger  groups.
sourceraw docstring

get-trigger-keysclj

(get-trigger-keys scheduler gm)

Returns a set of keys that match the given group matcher. Commonly used with the functions in the clojurewerkz.quartzite.matchers.* namespace.

Returns a set of keys that match the given group matcher. Commonly used with the functions in the clojurewerkz.quartzite.matchers.*
namespace.
sourceraw docstring

get-triggersclj

(get-triggers scheduler keys)

Returns a set of Trigger instances for the given collection of keys.

Returns a set of Trigger instances for the given collection of keys.
sourceraw docstring

get-triggers-of-jobclj

(get-triggers-of-job scheduler key)

Returns a set of Trigger instances for the given collection of keys.

Returns a set of Trigger instances for the given collection of keys.
sourceraw docstring

initializeclj

(initialize)

Initializes a scheduler.

Initializes a scheduler.
sourceraw docstring

maybe-scheduleclj

(maybe-schedule scheduler job-detail trigger)

Adds given job to the scheduler and associates it with given trigger but only if they are not already known to the scheduler.

Like schedule but avoids org.quartz.ObjectAlreadyExistsException by checking if keys of provided job and trigger are already scheduled and do not need to be scheduled again

Adds given job to the scheduler and associates it with given trigger but only if they
are not already known to the scheduler.

Like schedule but avoids org.quartz.ObjectAlreadyExistsException by checking if keys of
provided job and trigger are already scheduled and do not need to be scheduled again
sourceraw docstring

pause-all!clj

(pause-all! scheduler)

Pauses all triggers and jobs

Pauses all triggers and jobs
sourceraw docstring

pause-jobclj

(pause-job scheduler key)

Pauses a job with the given key

Pauses a job with the given key
sourceraw docstring

pause-jobsclj

(pause-jobs scheduler matcher)

Pauses a group of jobs

Pauses a group of jobs
sourceraw docstring

pause-triggerclj

(pause-trigger scheduler key)

Pauses a trigger with the given key

Pauses a trigger with the given key
sourceraw docstring

pause-triggersclj

(pause-triggers scheduler matcher)

Pauses a group of triggers

Pauses a group of triggers
sourceraw docstring

resume-all!clj

(resume-all! scheduler)

Resumes all paused triggers and jobs

Resumes all paused triggers and jobs
sourceraw docstring

resume-jobclj

(resume-job scheduler key)

Resumes a job with the given key

Resumes a job with the given key
sourceraw docstring

resume-jobsclj

(resume-jobs scheduler matcher)

Resumes a group of jobs

Resumes a group of jobs
sourceraw docstring

resume-triggerclj

(resume-trigger scheduler key)

Resumes a trigger with the given key

Resumes a trigger with the given key
sourceraw docstring

resume-triggersclj

(resume-triggers scheduler matcher)

Resumes a group of triggers

Resumes a group of triggers
sourceraw docstring

scheduleclj

(schedule scheduler job-detail trigger)

Adds given job to the scheduler and associates it with given trigger. Trigger controls job execution schedule, initial execution time and other characteristics

Adds given job to the scheduler and associates it with given trigger.
Trigger controls job execution schedule, initial execution time and other characteristics
sourceraw docstring

scheduled?clj

(scheduled? scheduler key)

Checks if entity with given key already exists within the scheduler

Checks if entity with given key already exists within the scheduler
sourceraw docstring

shutdownclj

(shutdown scheduler)
(shutdown scheduler wait-for-jobs-to-complete)

Shuts scheduler down, releasing all the resources associated with it. When passed true causes scheduler to wait for running jobs to complete before shutting down

Shuts scheduler down, releasing all the resources associated with it. When passed true causes scheduler
to wait for running jobs to complete before shutting down
sourceraw docstring

shutdown?clj

(shutdown? scheduler)

Returns true if the scheduler has been shut down, false otherwise

Returns true if the scheduler has been shut down, false otherwise
sourceraw docstring

standbyclj

(standby scheduler)

Puts scheduler in standby mode. When in scheduler is standby mode, no triggers will fire

Puts scheduler in standby mode. When in scheduler is standby mode, no triggers will fire
sourceraw docstring

standby?clj

(standby? scheduler)

Returns true if the scheduler is in standby mode, false otherwise

Returns true if the scheduler is in standby mode, false otherwise
sourceraw docstring

startclj

(start scheduler)

Starts Quartzite's scheduler. Newly initialized scheduler is not active (in standby mode), this function starts it

Starts Quartzite's scheduler. Newly initialized scheduler is not active (in standby mode),
this function starts it
sourceraw docstring

start-delayedclj

(start-delayed scheduler seconds)

Starts Quartzite's scheduler after a delay in seconds

Starts Quartzite's scheduler after a delay in seconds
sourceraw docstring

started?clj

(started? scheduler)

Returns true if the scheduler has been ever started, false otherwise

Returns true if the scheduler has been ever started, false otherwise
sourceraw docstring

triggerclj

(trigger scheduler jk)

Returns trigger for given key

Returns trigger for given key
sourceraw docstring

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

× close