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
raw 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
raw 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
raw 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
raw 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
raw 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
raw 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
raw 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
raw 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
raw 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
raw 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
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw 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.
raw docstring

initializeclj

(initialize)

Initializes a scheduler.

Initializes a scheduler.
raw 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
raw docstring

pause-all!clj

(pause-all! scheduler)

Pauses all triggers and jobs

Pauses all triggers and jobs
raw docstring

pause-jobclj

(pause-job scheduler key)

Pauses a job with the given key

Pauses a job with the given key
raw docstring

pause-jobsclj

(pause-jobs scheduler matcher)

Pauses a group of jobs

Pauses a group of jobs
raw docstring

pause-triggerclj

(pause-trigger scheduler key)

Pauses a trigger with the given key

Pauses a trigger with the given key
raw docstring

pause-triggersclj

(pause-triggers scheduler matcher)

Pauses a group of triggers

Pauses a group of triggers
raw docstring

resume-all!clj

(resume-all! scheduler)

Resumes all paused triggers and jobs

Resumes all paused triggers and jobs
raw docstring

resume-jobclj

(resume-job scheduler key)

Resumes a job with the given key

Resumes a job with the given key
raw docstring

resume-jobsclj

(resume-jobs scheduler matcher)

Resumes a group of jobs

Resumes a group of jobs
raw docstring

resume-triggerclj

(resume-trigger scheduler key)

Resumes a trigger with the given key

Resumes a trigger with the given key
raw docstring

resume-triggersclj

(resume-triggers scheduler matcher)

Resumes a group of triggers

Resumes a group of triggers
raw 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
raw 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
raw 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
raw 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
raw 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
raw 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
raw 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
raw 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
raw 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
raw docstring

triggerclj

(trigger scheduler jk)

Returns trigger for given key

Returns trigger for given key
raw docstring

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

× close