| Package | Description |
|---|---|
| com.helger.quartz |
The main package of Quartz, containing the client-side interfaces.
|
| com.helger.quartz.core |
Contains the core classes and interfaces for the Quartz job scheduler.
|
| com.helger.quartz.impl |
Contains implementations of the SchedulerFactory, JobStore, ThreadPool, and
other interfaces required by the org.quartz.core.QuartzScheduler.
|
| com.helger.quartz.impl.triggers |
This package contains Trigger implementations that ship with Quartz.
|
| com.helger.quartz.listeners | |
| com.helger.quartz.plugins.history | |
| com.helger.quartz.plugins.management | |
| com.helger.quartz.simpl |
Contains simple / light-weight implementations (with no dependencies on
external libraries) of interfaces required by the
org.quartz.core.QuartzScheduler.
|
| com.helger.quartz.spi |
Contains Service Provider Interfaces that can be implemented by those
wishing to create and use custom versions of Quartz back-end/behind-the-scenes
services.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JobExecutionException
An exception that can be thrown by a
to indicate to the Quartz
that an error occurred while executing, and
whether or not the Job requests to be re-fired immediately
(using the same , or whether it
wants to be unscheduled. |
class |
JobPersistenceException
An exception that is thrown to indicate that there has been a failure in the
scheduler's underlying persistence mechanism.
|
class |
ObjectAlreadyExistsException
An exception that is thrown to indicate that an attempt to store a new object
(i.e.
|
class |
SchedulerConfigException
An exception that is thrown to indicate that there is a misconfiguration of
the
SchedulerFactory- or one of the components it configures. |
class |
UnableToInterruptJobException
An exception that is thrown to indicate that a call to
InterruptableJob.interrupt() failed without interrupting the Job.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
ISchedulerListener.schedulerError(String msg,
SchedulerException cause)
Called by the
when a serious error has
occurred within the scheduler - such as repeated failures in the
JobStore, or the inability to instantiate a Job
instance when its Trigger has fired. |
| Modifier and Type | Method and Description |
|---|---|
void |
IScheduler.addCalendar(String calName,
ICalendar calendar,
boolean replace,
boolean updateTriggers)
Add (register) the given
Calendar to the Scheduler. |
void |
IScheduler.addJob(IJobDetail jobDetail,
boolean replace)
Add the given
Job to the Scheduler - with no associated
Trigger. |
void |
IScheduler.addJob(IJobDetail jobDetail,
boolean replace,
boolean storeNonDurableWhileAwaitingScheduling)
Add the given
Job to the Scheduler - with no associated
Trigger. |
boolean |
IScheduler.checkExists(JobKey jobKey)
Determine whether a
IJob with the given identifier already exists
within the scheduler. |
boolean |
IScheduler.checkExists(TriggerKey triggerKey)
Determine whether a
ITrigger with the given identifier already
exists within the scheduler. |
void |
IScheduler.clear()
Clears (deletes!)
|
boolean |
IScheduler.deleteCalendar(String calName)
Delete the identified
Calendar from the Scheduler. |
boolean |
IScheduler.deleteJob(JobKey jobKey)
Delete the identified
Job from the Scheduler - and any
associated Triggers. |
boolean |
IScheduler.deleteJobs(List<JobKey> jobKeys)
Delete the identified
Jobs from the Scheduler - and any
associated Triggers. |
com.helger.commons.collection.impl.ICommonsCollection<IScheduler> |
ISchedulerFactory.getAllSchedulers()
Returns handles to all known Schedulers (made by any SchedulerFactory
within this jvm.).
|
ICalendar |
IScheduler.getCalendar(String calName)
Get the
instance with the given name. |
com.helger.commons.collection.impl.ICommonsList<String> |
IScheduler.getCalendarNames()
Get the names of all registered
. |
SchedulerContext |
IScheduler.getContext()
Returns the
SchedulerContext of the Scheduler. |
com.helger.commons.collection.impl.ICommonsList<IJobExecutionContext> |
IScheduler.getCurrentlyExecutingJobs()
Return a list of
JobExecutionContext objects that represent
all currently executing Jobs in this Scheduler instance. |
IJobDetail |
IScheduler.getJobDetail(JobKey jobKey)
Get the
for the Job instance
with the given key. |
com.helger.commons.collection.impl.ICommonsList<String> |
IScheduler.getJobGroupNames()
Get the names of all known
groups. |
com.helger.commons.collection.impl.ICommonsSet<JobKey> |
IScheduler.getJobKeys(GroupMatcher<JobKey> matcher)
Get the keys of all the
in the matching groups. |
IListenerManager |
IScheduler.getListenerManager()
Get a reference to the scheduler's
ListenerManager, through
which listeners may be registered. |
SchedulerMetaData |
IScheduler.getMetaData()
Get a
SchedulerMetaData object describing the settings and
capabilities of the scheduler instance. |
com.helger.commons.collection.impl.ICommonsSet<String> |
IScheduler.getPausedTriggerGroups()
Get the names of all
groups that are paused. |
IScheduler |
ISchedulerFactory.getScheduler()
Returns a client-usable handle to a
Scheduler. |
IScheduler |
ISchedulerFactory.getScheduler(String schedName)
Returns a handle to the Scheduler with the given name, if it exists.
|
String |
IScheduler.getSchedulerInstanceId()
Returns the instance Id of the
Scheduler. |
String |
IScheduler.getSchedulerName()
Returns the name of the
Scheduler. |
String |
SchedulerMetaData.getSummary()
Returns a formatted (human readable) String describing all the
Scheduler's meta-data values. |
ITrigger |
IScheduler.getTrigger(TriggerKey triggerKey)
Get the
instance with the given key. |
com.helger.commons.collection.impl.ICommonsList<String> |
IScheduler.getTriggerGroupNames()
Get the names of all known
groups. |
com.helger.commons.collection.impl.ICommonsSet<TriggerKey> |
IScheduler.getTriggerKeys(GroupMatcher<TriggerKey> matcher)
Get the names of all the
in the given group. |
com.helger.commons.collection.impl.ICommonsList<? extends ITrigger> |
IScheduler.getTriggersOfJob(JobKey jobKey)
Get all
s that are associated with the
identified . |
ITrigger.ETriggerState |
IScheduler.getTriggerState(TriggerKey triggerKey)
Get the current state of the identified
. |
boolean |
IScheduler.isInStandbyMode()
Reports whether the
Scheduler is in stand-by mode. |
boolean |
IScheduler.isShutdown()
Reports whether the
Scheduler has been shutdown. |
boolean |
IScheduler.isStarted()
Whether the scheduler has been started.
|
void |
IScheduler.pauseAll()
Pause all triggers - similar to calling
pauseTriggerGroup(group) on every group, however, after using
this method resumeAll() must be called to clear the
scheduler's state of 'remembering' that all new triggers will be paused as
they are added. |
void |
IScheduler.pauseJob(JobKey jobKey)
Pause the
with the given
key - by pausing all of its current Triggers. |
void |
IScheduler.pauseJobs(GroupMatcher<JobKey> matcher)
Pause all of the
in the
matching groups - by pausing all of their Triggers. |
void |
IScheduler.pauseTrigger(TriggerKey triggerKey)
Pause the
with the given key. |
void |
IScheduler.pauseTriggers(GroupMatcher<TriggerKey> matcher)
Pause all of the
in the groups matching. |
Date |
IScheduler.rescheduleJob(TriggerKey triggerKey,
ITrigger newTrigger)
Remove (delete) the
with
the given key, and store the new given one - which must be associated with
the same job (the new trigger must have the job name & group specified)
- however, the new trigger need not have the same name as the old trigger. |
void |
IScheduler.resumeAll()
Resume (un-pause) all triggers - similar to calling
resumeTriggerGroup(group) on every group. |
void |
IScheduler.resumeJob(JobKey jobKey)
Resume (un-pause) the
with the given key. |
void |
IScheduler.resumeJobs(GroupMatcher<JobKey> matcher)
Resume (un-pause) all of the
in matching groups. |
void |
IScheduler.resumeTrigger(TriggerKey triggerKey)
Resume (un-pause) the
with the given key. |
void |
IScheduler.resumeTriggers(GroupMatcher<TriggerKey> matcher)
Resume (un-pause) all of the
in matching
groups. |
Date |
IScheduler.scheduleJob(IJobDetail jobDetail,
ITrigger trigger)
Add the given
to the
Scheduler, and associate the given with it. |
void |
IScheduler.scheduleJob(IJobDetail jobDetail,
Set<? extends ITrigger> triggersForJob,
boolean replace)
Schedule the given job with the related set of triggers.
|
Date |
IScheduler.scheduleJob(ITrigger trigger)
|
void |
IScheduler.scheduleJobs(Map<IJobDetail,Set<? extends ITrigger>> triggersAndJobs,
boolean replace)
Schedule all of the given jobs with the related set of triggers.
|
void |
IScheduler.setJobFactory(IJobFactory factory)
Set the
JobFactory that will be responsible for producing
instances of Job classes. |
void |
IScheduler.shutdown()
Halts the
Scheduler's firing of
, and cleans up all resources associated with
the Scheduler. |
void |
IScheduler.shutdown(boolean waitForJobsToComplete)
Halts the
Scheduler's firing of
, and cleans up all resources associated with
the Scheduler. |
void |
IScheduler.standby()
Temporarily halts the
Scheduler's firing of
. |
void |
IScheduler.start()
Starts the
Scheduler's threads that fire
. |
void |
IScheduler.startDelayed(int seconds)
Calls {#start()} after the indicated number of seconds.
|
void |
IScheduler.triggerJob(JobKey jobKey)
Trigger the identified
(execute it now). |
void |
IScheduler.triggerJob(JobKey jobKey,
JobDataMap data)
Trigger the identified
(execute it now). |
boolean |
IScheduler.unscheduleJob(TriggerKey triggerKey)
Remove the indicated
from the scheduler. |
boolean |
IScheduler.unscheduleJobs(List<TriggerKey> triggerKeys)
Remove all of the indicated
s from the
scheduler. |
| Modifier and Type | Method and Description |
|---|---|
void |
QuartzScheduler.notifySchedulerListenersError(String msg,
SchedulerException se) |
void |
SchedulerSignaler.notifySchedulerListenersError(String string,
SchedulerException jpe) |
| Modifier and Type | Method and Description |
|---|---|
void |
IQuartzScheduler.addCalendar(String calName,
ICalendar calendar,
boolean replace,
boolean updateTriggers) |
void |
QuartzScheduler.addCalendar(String calName,
ICalendar calendar,
boolean replace,
boolean updateTriggers)
Add (register) the given
Calendar to the Scheduler. |
void |
IQuartzScheduler.addJob(IJobDetail jobDetail,
boolean replace) |
void |
QuartzScheduler.addJob(IJobDetail jobDetail,
boolean replace)
Add the given
Job to the Scheduler - with no associated
Trigger. |
void |
IQuartzScheduler.addJob(IJobDetail jobDetail,
boolean replace,
boolean storeNonDurableWhileAwaitingScheduling) |
void |
QuartzScheduler.addJob(IJobDetail jobDetail,
boolean replace,
boolean storeNonDurableWhileAwaitingScheduling) |
protected void |
JobRunShell.begin() |
boolean |
IQuartzScheduler.checkExists(JobKey jobKey) |
boolean |
QuartzScheduler.checkExists(JobKey jobKey)
Determine whether a
IJob with the given identifier already exists
within the scheduler. |
boolean |
IQuartzScheduler.checkExists(TriggerKey triggerKey) |
boolean |
QuartzScheduler.checkExists(TriggerKey triggerKey)
Determine whether a
ITrigger with the given identifier already
exists within the scheduler. |
void |
IQuartzScheduler.clear() |
void |
QuartzScheduler.clear()
Clears (deletes!)
|
protected void |
JobRunShell.complete(boolean successfulExecution) |
JobRunShell |
IJobRunShellFactory.createJobRunShell(TriggerFiredBundle bundle)
Called by the
to obtain
instances of . |
boolean |
IQuartzScheduler.deleteCalendar(String calName) |
boolean |
QuartzScheduler.deleteCalendar(String calName)
Delete the identified
Calendar from the Scheduler. |
boolean |
IQuartzScheduler.deleteJob(JobKey jobKey) |
boolean |
QuartzScheduler.deleteJob(JobKey jobKey)
Delete the identified
Job from the Scheduler - and any
associated Triggers. |
boolean |
IQuartzScheduler.deleteJobs(List<JobKey> jobKeys) |
boolean |
QuartzScheduler.deleteJobs(List<JobKey> jobKeys) |
ICalendar |
IQuartzScheduler.getCalendar(String calName) |
ICalendar |
QuartzScheduler.getCalendar(String calName)
Get the
instance with the given name. |
com.helger.commons.collection.impl.ICommonsList<String> |
IQuartzScheduler.getCalendarNames() |
com.helger.commons.collection.impl.ICommonsList<String> |
QuartzScheduler.getCalendarNames()
Get the names of all registered
. |
com.helger.commons.collection.impl.ICommonsList<IJobExecutionContext> |
IQuartzScheduler.getCurrentlyExecutingJobs() |
IJobDetail |
IQuartzScheduler.getJobDetail(JobKey jobKey) |
IJobDetail |
QuartzScheduler.getJobDetail(JobKey jobKey)
Get the
for the Job instance
with the given name and group. |
com.helger.commons.collection.impl.ICommonsList<String> |
IQuartzScheduler.getJobGroupNames() |
com.helger.commons.collection.impl.ICommonsList<String> |
QuartzScheduler.getJobGroupNames()
Get the names of all known
groups. |
com.helger.commons.collection.impl.ICommonsSet<JobKey> |
IQuartzScheduler.getJobKeys(GroupMatcher<JobKey> matcher) |
com.helger.commons.collection.impl.ICommonsSet<JobKey> |
QuartzScheduler.getJobKeys(GroupMatcher<JobKey> matcher)
Get the names of all the
in
the matching groups. |
com.helger.commons.collection.impl.ICommonsSet<String> |
IQuartzScheduler.getPausedTriggerGroups() |
com.helger.commons.collection.impl.ICommonsSet<String> |
QuartzScheduler.getPausedTriggerGroups() |
SchedulerContext |
IQuartzScheduler.getSchedulerContext() |
SchedulerContext |
QuartzScheduler.getSchedulerContext()
Returns the
SchedulerContext of the Scheduler. |
ITrigger |
IQuartzScheduler.getTrigger(TriggerKey triggerKey) |
ITrigger |
QuartzScheduler.getTrigger(TriggerKey triggerKey)
Get the
instance with the given name and
group. |
com.helger.commons.collection.impl.ICommonsList<String> |
IQuartzScheduler.getTriggerGroupNames() |
com.helger.commons.collection.impl.ICommonsList<String> |
QuartzScheduler.getTriggerGroupNames()
Get the names of all known
groups. |
com.helger.commons.collection.impl.ICommonsSet<TriggerKey> |
IQuartzScheduler.getTriggerKeys(GroupMatcher<TriggerKey> matcher) |
com.helger.commons.collection.impl.ICommonsSet<TriggerKey> |
QuartzScheduler.getTriggerKeys(GroupMatcher<TriggerKey> matcher)
Get the names of all the
in the matching groups. |
com.helger.commons.collection.impl.ICommonsList<? extends ITrigger> |
IQuartzScheduler.getTriggersOfJob(JobKey jobKey) |
com.helger.commons.collection.impl.ICommonsList<? extends ITrigger> |
QuartzScheduler.getTriggersOfJob(JobKey jobKey)
Get all
s that are associated with the
identified . |
ITrigger.ETriggerState |
IQuartzScheduler.getTriggerState(TriggerKey triggerKey) |
ITrigger.ETriggerState |
QuartzScheduler.getTriggerState(TriggerKey triggerKey)
Get the current state of the identified
. |
void |
QuartzScheduler.initialize() |
void |
JobRunShell.initialize(QuartzScheduler sched) |
void |
QuartzScheduler.notifyJobListenersToBeExecuted(IJobExecutionContext jec) |
void |
QuartzScheduler.notifyJobListenersWasExecuted(IJobExecutionContext jec,
JobExecutionException je) |
void |
QuartzScheduler.notifyJobListenersWasVetoed(IJobExecutionContext jec) |
void |
QuartzScheduler.notifyTriggerListenersComplete(IJobExecutionContext jec,
ITrigger.ECompletedExecutionInstruction instCode) |
boolean |
QuartzScheduler.notifyTriggerListenersFired(IJobExecutionContext jec) |
void |
QuartzScheduler.notifyTriggerListenersMisfired(ITrigger trigger) |
void |
IQuartzScheduler.pauseAll() |
void |
QuartzScheduler.pauseAll()
Pause all triggers - equivalent of calling
pauseTriggers(GroupMatcher<TriggerKey>) with a matcher
matching all known groups. |
void |
IQuartzScheduler.pauseJob(JobKey jobKey) |
void |
QuartzScheduler.pauseJob(JobKey jobKey)
Pause the
with the given
name - by pausing all of its current Triggers. |
void |
IQuartzScheduler.pauseJobs(GroupMatcher<JobKey> matcher) |
void |
QuartzScheduler.pauseJobs(GroupMatcher<JobKey> groupMatcher)
Pause all of the
in the
matching groups - by pausing all of their Triggers. |
void |
IQuartzScheduler.pauseTrigger(TriggerKey triggerKey) |
void |
QuartzScheduler.pauseTrigger(TriggerKey triggerKey)
Pause the
with the given name. |
void |
IQuartzScheduler.pauseTriggers(GroupMatcher<TriggerKey> matcher) |
void |
QuartzScheduler.pauseTriggers(GroupMatcher<TriggerKey> matcher)
Pause all of the
in the matching groups. |
Date |
IQuartzScheduler.rescheduleJob(TriggerKey triggerKey,
ITrigger newTrigger) |
Date |
QuartzScheduler.rescheduleJob(TriggerKey triggerKey,
ITrigger newTrigger)
Remove (delete) the
with
the given name, and store the new given one - which must be associated with
the same job. |
void |
IQuartzScheduler.resumeAll() |
void |
QuartzScheduler.resumeAll()
Resume (un-pause) all triggers - equivalent of calling
resumeTriggerGroup(group) on every group. |
void |
IQuartzScheduler.resumeJob(JobKey jobKey) |
void |
QuartzScheduler.resumeJob(JobKey jobKey)
Resume (un-pause) the
with the given name. |
void |
IQuartzScheduler.resumeJobs(GroupMatcher<JobKey> matcher) |
void |
QuartzScheduler.resumeJobs(GroupMatcher<JobKey> matcher)
Resume (un-pause) all of the
in the matching groups. |
void |
IQuartzScheduler.resumeTrigger(TriggerKey triggerKey) |
void |
QuartzScheduler.resumeTrigger(TriggerKey triggerKey)
Resume (un-pause) the
with the given name. |
void |
IQuartzScheduler.resumeTriggers(GroupMatcher<TriggerKey> matcher) |
void |
QuartzScheduler.resumeTriggers(GroupMatcher<TriggerKey> matcher)
Resume (un-pause) all of the
in the matching
groups. |
Date |
IQuartzScheduler.scheduleJob(IJobDetail jobDetail,
ITrigger trigger) |
Date |
QuartzScheduler.scheduleJob(IJobDetail jobDetail,
ITrigger trigger)
Add the
identified by the given
to the Scheduler, and
associate the given with
it. |
void |
IQuartzScheduler.scheduleJob(IJobDetail jobDetail,
Set<? extends ITrigger> triggersForJob,
boolean replace) |
void |
QuartzScheduler.scheduleJob(IJobDetail jobDetail,
Set<? extends ITrigger> triggersForJob,
boolean replace) |
Date |
IQuartzScheduler.scheduleJob(ITrigger trigger) |
Date |
QuartzScheduler.scheduleJob(ITrigger trigger)
|
void |
IQuartzScheduler.scheduleJobs(Map<IJobDetail,Set<? extends ITrigger>> triggersAndJobs,
boolean replace) |
void |
QuartzScheduler.scheduleJobs(Map<IJobDetail,Set<? extends ITrigger>> triggersAndJobs,
boolean replace) |
void |
QuartzScheduler.setJobFactory(IJobFactory aFactory) |
void |
IQuartzScheduler.start() |
void |
QuartzScheduler.start()
Starts the
QuartzScheduler's threads that fire
. |
void |
IQuartzScheduler.startDelayed(int seconds) |
void |
QuartzScheduler.startDelayed(int seconds) |
void |
IQuartzScheduler.triggerJob(IOperableTrigger trig) |
void |
QuartzScheduler.triggerJob(IOperableTrigger trig)
Store and schedule the identified
|
void |
IQuartzScheduler.triggerJob(JobKey jobKey,
JobDataMap data) |
void |
QuartzScheduler.triggerJob(JobKey jobKey,
JobDataMap data)
Trigger the identified
(execute
it now) - with a non-volatile trigger. |
boolean |
IQuartzScheduler.unscheduleJob(TriggerKey triggerKey) |
boolean |
QuartzScheduler.unscheduleJob(TriggerKey triggerKey)
Remove the indicated
from
the scheduler. |
boolean |
IQuartzScheduler.unscheduleJobs(List<TriggerKey> triggerKeys) |
boolean |
QuartzScheduler.unscheduleJobs(List<TriggerKey> triggerKeys) |
void |
QuartzScheduler.validateState() |
| Constructor and Description |
|---|
QuartzScheduler(QuartzSchedulerResources resources,
long idleWaitTime)
Create a
QuartzScheduler with the given configuration
properties. |
| Modifier and Type | Method and Description |
|---|---|
void |
QuartzServer.schedulerError(String msg,
SchedulerException cause)
Called by the
when a serious error has
occured within the scheduler - such as repeated failures in the
JobStore, or the inability to instantiate a Job
instance when its Trigger has fired. |
| Modifier and Type | Method and Description |
|---|---|
void |
StdScheduler.addCalendar(String calName,
ICalendar calendar,
boolean replace,
boolean updateTriggers)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
void |
StdScheduler.addJob(IJobDetail jobDetail,
boolean replace)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
void |
StdScheduler.addJob(IJobDetail jobDetail,
boolean replace,
boolean storeNonDurableWhileAwaitingScheduling) |
void |
SchedulerRepository.bind(IScheduler sched) |
boolean |
StdScheduler.checkExists(JobKey jobKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
boolean |
StdScheduler.checkExists(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
void |
StdScheduler.clear()
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
JobRunShell |
StdJobRunShellFactory.createJobRunShell(TriggerFiredBundle bndle)
Called by the
QuartzSchedulerThread to
obtain instances of JobRunShell. |
void |
DirectSchedulerFactory.createScheduler(IThreadPool threadPool,
IJobStore jobStore)
Creates a scheduler using the specified thread pool and job store.
|
void |
DirectSchedulerFactory.createScheduler(String schedulerName,
String schedulerInstanceId,
IThreadPool threadPool,
IJobStore jobStore)
Same as
DirectSchedulerFactory.createScheduler(IThreadPool threadPool, IJobStore jobStore),
with the addition of specifying the scheduler name and instance ID. |
void |
DirectSchedulerFactory.createScheduler(String schedulerName,
String schedulerInstanceId,
IThreadPool threadPool,
IJobStore jobStore,
long idleWaitTime)
Creates a scheduler using the specified thread pool and job store and binds
it to RMI.
|
void |
DirectSchedulerFactory.createScheduler(String schedulerName,
String schedulerInstanceId,
IThreadPool threadPool,
IJobStore jobStore,
Map<String,ISchedulerPlugin> schedulerPluginMap,
long idleWaitTime)
Creates a scheduler using the specified thread pool, job store, and
plugins, and binds it to RMI.
|
void |
DirectSchedulerFactory.createScheduler(String schedulerName,
String schedulerInstanceId,
IThreadPool threadPool,
IThreadExecutor threadExecutor,
IJobStore jobStore,
Map<String,ISchedulerPlugin> schedulerPluginMap,
long idleWaitTime)
Creates a scheduler using the specified thread pool, job store, and
plugins, and binds it to RMI.
|
void |
DirectSchedulerFactory.createScheduler(String schedulerName,
String schedulerInstanceId,
IThreadPool threadPool,
IThreadExecutor threadExecutor,
IJobStore jobStore,
Map<String,ISchedulerPlugin> schedulerPluginMap,
long idleWaitTime,
int maxBatchSize,
long batchTimeWindow)
Creates a scheduler using the specified thread pool, job store, and
plugins, and binds it to RMI.
|
void |
DirectSchedulerFactory.createVolatileScheduler(int nMaxThreads)
Creates an in memory job store (
) The
thread priority is set to Thread.NORM_PRIORITY |
boolean |
StdScheduler.deleteCalendar(String calName)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
boolean |
StdScheduler.deleteJob(JobKey jobKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
boolean |
StdScheduler.deleteJobs(List<JobKey> jobKeys) |
com.helger.commons.collection.impl.ICommonsCollection<IScheduler> |
DirectSchedulerFactory.getAllSchedulers()
Returns a handle to all known Schedulers (made by any StdSchedulerFactory
instance.).
|
com.helger.commons.collection.impl.ICommonsCollection<IScheduler> |
StdSchedulerFactory.getAllSchedulers()
Returns a handle to all known Schedulers (made by any StdSchedulerFactory
instance.).
|
ICalendar |
StdScheduler.getCalendar(String calName)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
com.helger.commons.collection.impl.ICommonsList<String> |
StdScheduler.getCalendarNames()
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
SchedulerContext |
StdScheduler.getContext()
Returns the
SchedulerContext of the Scheduler. |
static IScheduler |
StdSchedulerFactory.getDefaultScheduler()
Returns a handle to the default Scheduler, creating it if it does not yet
exist.
|
IJobDetail |
StdScheduler.getJobDetail(JobKey jobKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
com.helger.commons.collection.impl.ICommonsList<String> |
StdScheduler.getJobGroupNames()
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
com.helger.commons.collection.impl.ICommonsSet<JobKey> |
StdScheduler.getJobKeys(GroupMatcher<JobKey> matcher)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
IListenerManager |
StdScheduler.getListenerManager() |
com.helger.commons.collection.impl.ICommonsSet<String> |
StdScheduler.getPausedTriggerGroups() |
IScheduler |
DirectSchedulerFactory.getScheduler()
Returns a handle to the Scheduler produced by this factory.
|
IScheduler |
StdSchedulerFactory.getScheduler()
Returns a handle to the Scheduler produced by this factory.
|
IScheduler |
DirectSchedulerFactory.getScheduler(String schedName)
Returns a handle to the Scheduler with the given name, if it exists.
|
IScheduler |
StdSchedulerFactory.getScheduler(String schedName)
Returns a handle to the Scheduler with the given name, if it exists (if it
has already been instantiated).
|
ITrigger |
StdScheduler.getTrigger(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
com.helger.commons.collection.impl.ICommonsList<String> |
StdScheduler.getTriggerGroupNames()
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
com.helger.commons.collection.impl.ICommonsSet<TriggerKey> |
StdScheduler.getTriggerKeys(GroupMatcher<TriggerKey> matcher)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
com.helger.commons.collection.impl.ICommonsList<? extends ITrigger> |
StdScheduler.getTriggersOfJob(JobKey jobKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
ITrigger.ETriggerState |
StdScheduler.getTriggerState(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
StdSchedulerFactory |
StdSchedulerFactory.initialize()
Initialize the
with the contents of a NonBlockingProperties file and
overriding System properties. |
StdSchedulerFactory |
StdSchedulerFactory.initialize(InputStream propertiesStream)
Initialize the
with the contents of the Properties file opened with the given
InputStream. |
StdSchedulerFactory |
StdSchedulerFactory.initialize(com.helger.commons.lang.NonBlockingProperties props)
Initialize the
with the contents of the given Properties object. |
StdSchedulerFactory |
StdSchedulerFactory.initialize(String filename)
Initialize the
with the contents of the Properties file with the given name. |
void |
StdScheduler.pauseAll()
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
void |
StdScheduler.pauseJob(JobKey jobKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
void |
StdScheduler.pauseJobs(GroupMatcher<JobKey> matcher)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
void |
StdScheduler.pauseTrigger(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
void |
StdScheduler.pauseTriggers(GroupMatcher<TriggerKey> matcher)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
Date |
StdScheduler.rescheduleJob(TriggerKey triggerKey,
ITrigger newTrigger)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
void |
StdScheduler.resumeAll()
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
void |
StdScheduler.resumeJob(JobKey jobKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
void |
StdScheduler.resumeJobs(GroupMatcher<JobKey> matcher)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
void |
StdScheduler.resumeTrigger(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
void |
StdScheduler.resumeTriggers(GroupMatcher<TriggerKey> matcher)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
Date |
StdScheduler.scheduleJob(IJobDetail jobDetail,
ITrigger trigger)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
void |
StdScheduler.scheduleJob(IJobDetail jobDetail,
Set<? extends ITrigger> triggersForJob,
boolean replace) |
Date |
StdScheduler.scheduleJob(ITrigger trigger)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
void |
StdScheduler.scheduleJobs(Map<IJobDetail,Set<? extends ITrigger>> triggersAndJobs,
boolean replace) |
void |
StdScheduler.setJobFactory(IJobFactory factory) |
void |
StdScheduler.start()
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
void |
StdScheduler.startDelayed(int seconds)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
void |
StdScheduler.triggerJob(JobKey jobKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
void |
StdScheduler.triggerJob(JobKey jobKey,
JobDataMap data)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
boolean |
StdScheduler.unscheduleJob(TriggerKey triggerKey)
Calls the equivalent method on the 'proxied'
QuartzScheduler. |
boolean |
StdScheduler.unscheduleJobs(List<TriggerKey> triggerKeys) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractTrigger.validate()
Validates whether the properties of the
JobDetail are valid
for submission into a Scheduler. |
void |
CalendarIntervalTrigger.validate()
Validates whether the properties of the
JobDetail are valid
for submission into a Scheduler. |
void |
DailyTimeIntervalTrigger.validate()
Validates whether the properties of the
JobDetail are valid
for submission into a Scheduler. |
void |
SimpleTrigger.validate()
Validates whether the properties of the
JobDetail are valid
for submission into a Scheduler. |
| Modifier and Type | Method and Description |
|---|---|
void |
BroadcastSchedulerListener.schedulerError(String msg,
SchedulerException cause) |
| Modifier and Type | Method and Description |
|---|---|
void |
LoggingJobHistoryPlugin.initialize(String pname,
IScheduler scheduler,
IClassLoadHelper classLoadHelper)
Called during creation of the
Scheduler in order to give the
SchedulerPlugin a chance to initialize. |
void |
LoggingTriggerHistoryPlugin.initialize(String pname,
IScheduler scheduler,
IClassLoadHelper classLoadHelper)
Called during creation of the
Scheduler in order to give the
SchedulerPlugin a chance to initialize. |
| Modifier and Type | Method and Description |
|---|---|
void |
ShutdownHookPlugin.initialize(String name,
IScheduler scheduler,
IClassLoadHelper classLoadHelper)
Called during creation of the
Scheduler in order to give the
SchedulerPlugin a chance to initialize. |
| Modifier and Type | Method and Description |
|---|---|
String |
HostnameInstanceIdGenerator.generateInstanceId() |
String |
SimpleInstanceIdGenerator.generateInstanceId() |
String |
SystemPropertyInstanceIdGenerator.generateInstanceId()
Returns the cluster wide value for this scheduler instance's id, based on a
system property
|
IJob |
PropertySettingJobFactory.newJob(TriggerFiredBundle bundle,
IScheduler scheduler) |
IJob |
SimpleJobFactory.newJob(TriggerFiredBundle bundle,
IScheduler aScheduler) |
protected void |
PropertySettingJobFactory.setBeanProps(Object obj,
JobDataMap data) |
| Modifier and Type | Method and Description |
|---|---|
void |
ISchedulerSignaler.notifySchedulerListenersError(String string,
SchedulerException jpe) |
| Modifier and Type | Method and Description |
|---|---|
String |
IInstanceIdGenerator.generateInstanceId()
Generate the instance id for a
Scheduler |
void |
ISchedulerPlugin.initialize(String name,
IScheduler scheduler,
IClassLoadHelper loadHelper)
Called during creation of the
Scheduler in order to give the
SchedulerPlugin a chance to initialize. |
IJob |
IJobFactory.newJob(TriggerFiredBundle bundle,
IScheduler scheduler)
Called by the scheduler at the time of the trigger firing, in order to
produce a
Job instance on which to call execute. |
void |
IJobStore.schedulerStarted()
Called by the QuartzScheduler to inform the
JobStore that the
scheduler has started. |
void |
IOperableTrigger.validate()
Validates whether the properties of the
JobDetail are valid
for submission into a Scheduler. |
Copyright © 2016–2021 Philip Helger. All rights reserved.