Client programs may be interested in the 'listener' interfaces that are
available from Quartz. The IJobListener interface
provides notifications of Job executions. The
ITriggerListener interface provides notifications of
ITrigger firings. The ISchedulerListener
interface provides notifications of scheduler events and
errors. Listeners can be associated with local schedulers through the
IListenerManager interface.
Namespace: Quartz
Assembly: Quartz (in Quartz.dll) Version: 3.0.0
Syntax
C#
public interface IListenerManager
The IListenerManager type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddJobListener(IJobListener, IMatcherJobKey) |
Add the given IJobListener to theIScheduler,
and register it to receive events for Jobs that are matched by ANY of the
given Matchers.
| |
AddJobListener(IJobListener, IReadOnlyCollectionIMatcherJobKey) |
Add the given IJobListener to theIScheduler,
and register it to receive events for Jobs that are matched by ANY of the
given Matchers.
| |
AddJobListenerMatcher |
Add the given Matcher to the set of matchers for which the listener
will receive events if ANY of the matchers match.
| |
AddSchedulerListener |
Register the given ISchedulerListener with the
IScheduler.
| |
AddTriggerListener(ITriggerListener, IMatcherTriggerKey) |
Add the given ITriggerListener to theIScheduler,
and register it to receive events for Triggers that are matched by ANY of the
given Matchers.
| |
AddTriggerListener(ITriggerListener, IReadOnlyCollectionIMatcherTriggerKey) |
Add the given ITriggerListener to theIScheduler,
and register it to receive events for Triggers that are matched by ANY of the
given Matchers.
| |
AddTriggerListenerMatcher |
Add the given Matcher to the set of matchers for which the listener
will receive events if ANY of the matchers match.
| |
GetJobListener |
Get the IJobListener that has the given name.
| |
GetJobListenerMatchers |
Get the set of Matchers for which the listener
will receive events if ANY of the matchers match.
| |
GetJobListeners |
Get a List containing all of the IJobListeners in
theIScheduler.
| |
GetSchedulerListeners |
Get a List containing all of the ISchedulerListeners
registered with theIScheduler.
| |
GetTriggerListener |
Get the ITriggerListener that has the given name.
| |
GetTriggerListenerMatchers |
Get the set of Matchers for which the listener
will receive events if ANY of the matchers match.
| |
GetTriggerListeners |
Get a List containing all of the ITriggerListeners
in theIScheduler.
| |
RemoveJobListener |
Remove the identified IJobListener from theIScheduler.
| |
RemoveJobListenerMatcher |
Remove the given Matcher to the set of matchers for which the listener
will receive events if ANY of the matchers match.
| |
RemoveSchedulerListener |
Remove the given ISchedulerListener from the
IScheduler.
| |
RemoveTriggerListener |
Remove the identified ITriggerListener from theIScheduler.
| |
RemoveTriggerListenerMatcher |
Remove the given Matcher to the set of matchers for which the listener
will receive events if ANY of the matchers match.
| |
SetJobListenerMatchers |
Set the set of Matchers for which the listener
will receive events if ANY of the matchers match.
| |
SetTriggerListenerMatchers |
Set the set of Matchers for which the listener
will receive events if ANY of the matchers match.
|
Remarks
See Also