Beispiel #1
0
 /// <summary>
 /// Resume (un-pause) all of the <see cref="T:Quartz.ITrigger"/>s
 ///             in the given group.
 /// <para>
 /// If any <see cref="T:Quartz.ITrigger"/> missed one or more fire-times, then the
 ///             <see cref="T:Quartz.ITrigger"/>'s misfire instruction will be applied.
 /// </para>
 /// </summary>
 public Task <IReadOnlyCollection <string> > ResumeTriggers(GroupMatcher <TriggerKey> matcher, CancellationToken cancellationToken = default(CancellationToken))
 {
     _logger.Info("ResumeTriggers");
     return(Task.FromResult(DoWithLock(() => _storage.ResumeTriggers(matcher), "Error on resume triggers")));
 }
Beispiel #2
0
 /// <summary>
 /// Resume (un-pause) all of the <see cref="T:Quartz.ITrigger"/>s
 ///             in the given group.
 /// <para>
 /// If any <see cref="T:Quartz.ITrigger"/> missed one or more fire-times, then the
 ///             <see cref="T:Quartz.ITrigger"/>'s misfire instruction will be applied.
 /// </para>
 /// </summary>
 public IList <string> ResumeTriggers(GroupMatcher <TriggerKey> matcher)
 {
     _logger.Info("ResumeTriggers");
     return(DoWithLock(() => _storage.ResumeTriggers(matcher), "Error on resume triggers"));
 }