Exemplo n.º 1
0
 /// <summary>
 /// Resume (un-pause) all of the <see cref="T:Quartz.IJob"/>s in
 ///             the given group.
 /// <para>
 /// If any of the <see cref="T:Quartz.IJob"/> s had <see cref="T:Quartz.ITrigger"/> s that
 ///             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> > ResumeJobs(GroupMatcher <JobKey> matcher, CancellationToken cancellationToken = default(CancellationToken))
 {
     _logger.Info("ResumeJobs");
     return(Task.FromResult(DoWithLock(() => _storage.ResumeJobs(matcher), "Error on resuming jobs")));
 }
Exemplo n.º 2
0
 /// <summary>
 /// Resume (un-pause) all of the <see cref="T:Quartz.IJob"/>s in
 ///             the given group.
 /// <para>
 /// If any of the <see cref="T:Quartz.IJob"/> s had <see cref="T:Quartz.ITrigger"/> s that
 ///             missed one or more fire-times, then the <see cref="T:Quartz.ITrigger"/>'s
 ///             misfire instruction will be applied.
 /// </para>
 /// </summary>
 public global::Quartz.Collection.ISet <string> ResumeJobs(GroupMatcher <JobKey> matcher)
 {
     _logger.Info("ResumeJobs");
     return(DoWithLock(() => _storage.ResumeJobs(matcher), "Error on resuming jobs"));
 }