Esempio n. 1
0
        /// <summary>
        /// Resume (un-pause) all triggers - equivalent of calling <see cref="M:Quartz.Spi.IJobStore.ResumeTriggers(Quartz.Impl.Matchers.GroupMatcher{Quartz.TriggerKey})"/>
        ///             on every 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>
        /// <seealso cref="M:Quartz.Spi.IJobStore.PauseAll"/>
        public Task ResumeAll(CancellationToken cancellationToken = default(CancellationToken))
        {
            _logger.Info("ResumeAll");
            DoWithLock(() => _storage.ResumeAllTriggers(), "Error on resuming all");

            return(Task.FromResult(0));
        }
Esempio n. 2
0
 /// <summary>
 /// Resume (un-pause) all triggers - equivalent of calling <see cref="M:Quartz.Spi.IJobStore.ResumeTriggers(Quartz.Impl.Matchers.GroupMatcher{Quartz.TriggerKey})"/>
 ///             on every 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>
 /// <seealso cref="M:Quartz.Spi.IJobStore.PauseAll"/>
 public void ResumeAll()
 {
     _logger.Info("ResumeAll");
     DoWithLock(() => _storage.ResumeAllTriggers(), "Error on resuming all");
 }