Esempio n. 1
0
 /// <summary>
 /// Gets the paused trigger groups.
 /// </summary>
 /// <returns/>
 public Task <IReadOnlyCollection <string> > GetPausedTriggerGroups(CancellationToken cancellationToken = default(CancellationToken))
 {
     _logger.Info("GetPausedTriggerGroups");
     return(Task.FromResult(DoWithLock(() => _storage.GetPausedTriggerGroups(), "Error on getting paused trigger groups")));
 }
Esempio n. 2
0
 /// <summary>
 /// Gets the paused trigger groups.
 /// </summary>
 /// <returns/>
 public global::Quartz.Collection.ISet <string> GetPausedTriggerGroups()
 {
     _logger.Info("GetPausedTriggerGroups");
     return(DoWithLock(() => _storage.GetPausedTriggerGroups(), "Error on getting paused trigger groups"));
 }