Ejemplo n.º 1
0
        /// <summary>
        /// Clear (delete!) all scheduling data - all <see cref="T:Quartz.IJob"/>s, <see cref="T:Quartz.ITrigger"/>s
        ///             <see cref="T:Quartz.ICalendar"/>s.
        /// </summary>
        /// <remarks/>
        public Task ClearAllSchedulingData(CancellationToken cancellationToken = default(CancellationToken))
        {
            _logger.Info("ClearAllSchedulingData");
            DoWithLock(() => _storage.ClearAllSchedulingData(), "Could not clear all the scheduling data");

            return(Task.FromResult(0));
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Clear (delete!) all scheduling data - all <see cref="T:Quartz.IJob"/>s, <see cref="T:Quartz.ITrigger"/>s
 ///             <see cref="T:Quartz.ICalendar"/>s.
 /// </summary>
 /// <remarks/>
 public void ClearAllSchedulingData()
 {
     _logger.Info("ClearAllSchedulingData");
     DoWithLock(() => _storage.ClearAllSchedulingData(), "Could not clear all the scheduling data");
 }