QuartzScheduler MembersQuartz.NET API Documentation

The QuartzScheduler type exposes the following members.

Constructors

  NameDescription
Public methodQuartzScheduler
Create a QuartzScheduler with the given configuration properties.
Top
Methods

  NameDescription
Public methodAddCalendar
Add (register) the given ICalendar to the Scheduler.
Public methodAddGlobalJobListener
Add the given IJobListener to the IScheduler'sglobal list.

Listeners in the 'global' list receive notification of execution events for ALL IJobs.

Public methodAddGlobalTriggerListener
Add the given ITriggerListener to the IScheduler'sglobal list.

Listeners in the 'global' list receive notification of execution events for ALL Triggers.

Public methodAddJob
Add the given IJob to the Scheduler - with no associated Trigger. The IJob will be 'dormant' until it is scheduled with a Trigger, or TriggerJob(String, String) is called for it.

The IJob must by definition be 'durable', if it is not, SchedulerException will be thrown.

Public methodAddJobListener
Add the given IJobListener to the IScheduler's list, of registered IJobListeners.
Public methodAddNoGCObject
Adds an object that should be kept as reference to prevent it from being garbage collected.
Public methodAddSchedulerListener
Register the given ISchedulerListener with the IScheduler.
Public methodAddTriggerListener
Add the given ITriggerListener to the IScheduler's list, of registered ITriggerListeners.
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDeleteCalendar
Delete the identified ICalendar from the Scheduler.
Public methodDeleteJob
Delete the identified IJob from the Scheduler - and any associated Triggers.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCalendar
Get the ICalendar instance with the given name.
Public methodGetCalendarNames
Get the names of all registered ICalendars.
Public methodGetGlobalJobListener
Get the globalIJobListener that has the given name.
Public methodGetGlobalTriggerListener
Get the globalITriggerListener that has the given name.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetJobDetail
Get the JobDetail for the IJob instance with the given name and group.
Public methodGetJobGroupNames
Get the names of all known IJob groups.
Public methodGetJobListener
Get the non-globalIJobListener that has the given name.
Public methodGetJobNames
Get the names of all the IJobs in the given group.
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetPausedTriggerGroups
Gets the paused trigger groups.
Public methodGetTrigger
Get the Trigger instance with the given name and group.
Public methodGetTriggerGroupNames
Get the names of all known Trigger groups.
Public methodGetTriggerListener
Get the non-globalITriggerListener that has the given name.
Public methodGetTriggerNames
Get the names of all the Triggers in the given group.
Public methodGetTriggersOfJob
Get all Trigger s that are associated with the identified JobDetail.
Public methodGetTriggerState
Get the current state of the identified Trigger.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Overrides MarshalByRefObject InitializeLifetimeService .)
Public methodInterrupt
Interrupt all instances of the identified InterruptableJob.
Public methodIsJobGroupPaused
Public methodIsTriggerGroupPaused
Protected methodMemberwiseClone 
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
Public methodStatic memberNextLong
Creates a new positive random number
Public methodNotifyJobListenersToBeExecuted
Notifies the job listeners about job to be executed.
Public methodNotifyJobListenersWasExecuted
Notifies the job listeners that job was executed.
Public methodNotifyJobListenersWasVetoed
Notifies the job listeners that job exucution was vetoed.
Protected methodNotifyJobStoreJobComplete
Notifies the job store job complete.
Protected methodNotifyJobStoreJobVetoed
Public methodNotifySchedulerListenersError
Notifies the scheduler listeners about scheduler error.
Public methodNotifySchedulerListenersFinalized
Notifies the scheduler listeners about finalized trigger.
Public methodNotifySchedulerListenersPausedJob
Notifies the scheduler listeners about paused job.
Public methodNotifySchedulerListenersPausedTrigger
Notifies the scheduler listeners about paused trigger.
Public methodNotifySchedulerListenersResumedJob
Notifies the scheduler listeners about resumed job.
Public methodNotifySchedulerListenersResumedTrigger
Notifies the scheduler listeners resumed trigger.
Public methodNotifySchedulerListenersScheduled
Notifies the scheduler listeners about job that was scheduled.
Public methodNotifySchedulerListenersShutdown
Notifies the scheduler listeners about scheduler shutdown.
Public methodNotifySchedulerListenersUnscheduled
Notifies the scheduler listeners about job that was unscheduled.
Protected methodNotifySchedulerThread
Notifies the scheduler thread.
Public methodNotifyTriggerListenersComplete
Notifies the trigger listeners of completion.
Public methodNotifyTriggerListenersFired
Notifies the trigger listeners about fired trigger.
Public methodNotifyTriggerListenersMisfired
Notifies the trigger listeners about misfired trigger.
Public methodPauseAll
Pause all triggers - equivalent of calling PauseTriggerGroup(SchedulingContext, String) on every group.

When ResumeAll(SchedulingContext) is called (to un-pause), trigger misfire instructions WILL be applied.

Public methodPauseJob
Pause the JobDetail with the given name - by pausing all of its current Triggers.
Public methodPauseJobGroup
Pause all of the JobDetails in the given group - by pausing all of their Triggers.
Public methodPauseTrigger
Pause the Trigger with the given name.
Public methodPauseTriggerGroup
Pause all of the Triggers in the given group.
Public methodRemoveGlobalJobListener(String)
Remove the identifed IJobListener from the IScheduler's list of global listeners.
Public methodRemoveGlobalJobListener(IJobListener)
Remove the given IJobListener from the IScheduler's list of global listeners.
Public methodRemoveGlobalTriggerListener(String)
Remove the identifed ITriggerListener from the IScheduler's list of global listeners.
Public methodRemoveGlobalTriggerListener(ITriggerListener)
Remove the given ITriggerListener from the IScheduler's list of global listeners.
Public methodRemoveJobListener
Remove the identifed IJobListener from the IScheduler's list of registered listeners.
Public methodRemoveNoGCObject
Removes the object from garbae collection protected list.
Public methodRemoveSchedulerListener
Remove the given ISchedulerListener from the IScheduler.
Public methodRemoveTriggerListener
Remove the identifed ITriggerListener from the IScheduler's list of registered listeners.
Public methodRescheduleJob
Remove (delete) the Trigger with the given name, and store the new given one - which must be associated with the same job.
Public methodResumeAll
Resume (un-pause) all triggers - equivalent of calling ResumeTriggerGroup(SchedulingContext, String) on every group.

If any Trigger missed one or more fire-times, then the Trigger's misfire instruction will be applied.

Public methodResumeJob
Resume (un-pause) the JobDetail with the given name.

If any of the IJob'sTrigger s missed one or more fire-times, then the Trigger's misfire instruction will be applied.

Public methodResumeJobGroup
Resume (un-pause) all of the JobDetails in the given group.

If any of the IJob s had Trigger s that missed one or more fire-times, then the Trigger's misfire instruction will be applied.

Public methodResumeTrigger
Resume (un-pause) the Trigger with the given name.

If the Trigger missed one or more fire-times, then the Trigger's misfire instruction will be applied.

Public methodResumeTriggerGroup
Resume (un-pause) all of the Triggers in the given group.

If any Trigger missed one or more fire-times, then the Trigger's misfire instruction will be applied.

Public methodScheduleJob(SchedulingContext, Trigger)
Schedule the given Trigger with the IJob identified by the Trigger's settings.
Public methodScheduleJob(SchedulingContext, JobDetail, Trigger)
Add the IJob identified by the given JobDetail to the Scheduler, and associate the given Trigger with it.

If the given Trigger does not reference any IJob, then it will be set to reference the Job passed with it into this method.

Public methodShutdown 
Halts the QuartzScheduler's firing of Triggers, and cleans up all resources associated with the QuartzScheduler. Equivalent to Shutdown(Boolean).

The scheduler cannot be re-started.

Public methodShutdown(Boolean)
Halts the QuartzScheduler's firing of Triggers, and cleans up all resources associated with the QuartzScheduler.

The scheduler cannot be re-started.

Public methodStandby
Temporarily halts the QuartzScheduler's firing of Triggers.

The scheduler is not destroyed, and can be re-started at any time.

Public methodStart
Starts the QuartzScheduler's threads that fire Triggers.

All Triggers that have misfired will be passed to the appropriate TriggerListener(s).

Public methodStartDelayed
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodTriggerJob
Trigger the identified IJob (Execute it now) - with a non-volatile trigger.
Public methodTriggerJobWithVolatileTrigger
Trigger the identified IJob (Execute it now) - with a volatile trigger.
Public methodUnscheduleJob
Remove the indicated Trigger from the scheduler.
Public methodValidateState
Validates the state.
Top
Properties

  NameDescription
Public propertyCurrentlyExecutingJobs
Return a list of JobExecutionContext objects that represent all currently executing Jobs in this Scheduler instance.

This method is not cluster aware. That is, it will only return Jobs currently executing in this Scheduler instance, not across the entire cluster.

Note that the list returned is an 'instantaneous' snap-shot, and that as soon as it's returned, the true list of executing jobs may be different.

Public propertyGlobalJobListeners
Get a List containing all of the IJobListener s in the IScheduler'sglobal list.
Public propertyGlobalTriggerListeners
Get a list containing all of the ITriggerListener s in the IScheduler'sglobal list.
Public propertyInStandbyMode
Reports whether the IScheduler is paused.
Public propertyIsShutdown
Reports whether the IScheduler has been Shutdown.
Public propertyJobFactory
Gets or sets the job factory.
Public propertyJobListenerNames
Get a Set containing the names of all the non-globalIJobListener s registered with the IScheduler.
Public propertyJobStoreClass
Gets the job store class.
Public propertyNumJobsExecuted
Gets the number of jobs executed.
Public propertyRunningSince
Gets the running since.
Public propertySchedulerContext
Returns the SchedulerContext of the IScheduler.
Public propertySchedulerInstanceId
Returns the instance Id of the QuartzScheduler.
Public propertySchedulerListeners
Get a List containing all of the ISchedulerListener s registered with the IScheduler.
Public propertySchedulerName
Returns the name of the QuartzScheduler.
Public propertySchedulerSignaler
Gets the scheduler signaler.
Public propertySignalOnSchedulingChange
Gets or sets a value indicating whether to signal on scheduling change.
Public propertySupportsPersistence
Gets a value indicating whether this scheduler supports persistence.
Public propertyThreadPoolClass
Gets the thread pool class.
Public propertyThreadPoolSize
Gets the size of the thread pool.
Public propertyTriggerListenerNames
Get a Set containing the names of all the non-globalITriggerListener s registered with the IScheduler.
Public propertyVersion
Gets the version of the Quartz Scheduler.
Public propertyStatic memberVersionIteration
Gets the version iteration.
Public propertyStatic memberVersionMajor
Gets the version major.
Public propertyStatic memberVersionMinor
Gets the version minor.
Top
See Also