ITriggerListener Interface

Quartz.NET 3.0 API Documentation
The interface to be implemented by classes that want to be informed when a ITrigger fires. In general, applications that use a IScheduler will not have use for this mechanism.

Namespace:  Quartz
Assembly:  Quartz (in Quartz.dll) Version: 3.0.0
Syntax

C#
public interface ITriggerListener

The ITriggerListener type exposes the following members.

Properties

  NameDescription
Public propertyName
Get the name of the ITriggerListener.
Top
Methods

  NameDescription
Public methodTriggerComplete
Called by the IScheduler when a ITrigger has fired, it's associated IJobDetail has been executed, and it's Triggered(ICalendar) method has been called.
Public methodTriggerFired
Called by the IScheduler when a ITrigger has fired, and it's associated IJobDetail is about to be executed.

It is called before the VetoJobExecution(ITrigger, IJobExecutionContext, CancellationToken) method of this interface.

Public methodTriggerMisfired
Called by the IScheduler when a ITrigger has misfired.

Consideration should be given to how much time is spent in this method, as it will affect all triggers that are misfiring. If you have lots of triggers misfiring at once, it could be an issue it this method does a lot.

Public methodVetoJobExecution
Called by the IScheduler when a ITrigger has fired, and it's associated IJobDetail is about to be executed.

It is called after the TriggerFired(ITrigger, IJobExecutionContext, CancellationToken) method of this interface. If the implementation vetoes the execution (via returning ), the job's execute method will not be called.

Top
See Also

Reference