Liking cljdoc? Tell your friends :D

clojurewerkz.quartzite.scheduler


*scheduler*clj

source

add-jobclj

(add-job job-detail)
(add-job job-detail replace)
(add-job job-detail replace store-durably-till-scheduled)

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 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 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? & 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!)

Resets the scheduler by clearing all triggers and jobs from it

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

delete-jobclj

(delete-job 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 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 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 keys)

Remove all of the indicated triggers from the scheduler

Remove all of the indicated triggers from the scheduler
sourceraw docstring

get-jobclj

(get-job key)
(get-job 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)

Get the names of all known JobDetail groups.

Get the names of all known JobDetail groups.
sourceraw docstring

get-job-keysclj

(get-job-keys 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 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

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

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 key)
(get-trigger 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)

Get the names of all known Trigger groups.

Get the names of all known Trigger  groups.
sourceraw docstring

get-trigger-keysclj

(get-trigger-keys 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 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 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)
(initialize scheduler)

Initializers default scheduler. Use this function before starting Quartzite's scheduler

Initializers default scheduler. Use this function before starting Quartzite's scheduler
sourceraw docstring

KeyPredicatescljprotocol

scheduled?clj

(scheduled? key)

Checks if entity with given key already exists within the scheduler

Checks if entity with given key already exists within the scheduler
source

maybe-scheduleclj

(maybe-schedule 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!)

Pauses all triggers and jobs

Pauses all triggers and jobs
sourceraw docstring

pause-jobclj

(pause-job key)

Pauses a job with the given key

Pauses a job with the given key
sourceraw docstring

pause-jobsclj

(pause-jobs matcher)

Pauses a group of jobs

Pauses a group of jobs
sourceraw docstring

pause-triggerclj

(pause-trigger key)

Pauses a trigger with the given key

Pauses a trigger with the given key
sourceraw docstring

pause-triggersclj

(pause-triggers matcher)

Pauses a group of triggers

Pauses a group of triggers
sourceraw docstring

recreateclj

(recreate)

Recreates (reinitializes) Quartzite's scheduler instance

Recreates (reinitializes) Quartzite's scheduler instance
sourceraw docstring

resume-all!clj

(resume-all!)

Resumes all paused triggers and jobs

Resumes all paused triggers and jobs
sourceraw docstring

resume-jobclj

(resume-job key)

Resumes a job with the given key

Resumes a job with the given key
sourceraw docstring

resume-jobsclj

(resume-jobs matcher)

Resumes a group of jobs

Resumes a group of jobs
sourceraw docstring

resume-triggerclj

(resume-trigger key)

Resumes a trigger with the given key

Resumes a trigger with the given key
sourceraw docstring

resume-triggersclj

(resume-triggers matcher)

Resumes a group of triggers

Resumes a group of triggers
sourceraw docstring

scheduleclj

(schedule 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

shutdownclj

(shutdown)
(shutdown 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?)

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)

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?)

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)

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 seconds)

Starts Quartzite's scheduler after a delay in seconds

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

started?clj

(started?)

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 jk)

Returns trigger for given key

Returns trigger for given key
sourceraw docstring

unschedule-jobcljdeprecated

(unschedule-job 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

unschedule-jobscljdeprecated

(unschedule-jobs keys)

Remove all of the indicated triggers from the scheduler

Remove all of the indicated triggers from the scheduler
sourceraw docstring

with-schedulercljmacro

(with-scheduler sched & body)
source

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

× close