Beispiel #1
0
 /// <summary>
 /// Get the names of all of the <see cref="T:Quartz.IJob"/>
 ///             groups.
 /// <para>
 /// If there are no known group names, the result should be a zero-length
 ///             array (not <see langword="null"/>).
 /// </para>
 /// </summary>
 public Task <IReadOnlyCollection <string> > GetJobGroupNames(CancellationToken cancellationToken = default(CancellationToken))
 {
     _logger.Info("GetJobGroupNames");
     return(Task.FromResult(DoWithLock(() => _storage.JobGroupNames(), "Error on getting job group names")));
 }
Beispiel #2
0
 /// <summary>
 /// Get the names of all of the <see cref="T:Quartz.IJob"/>
 ///             groups.
 /// <para>
 /// If there are no known group names, the result should be a zero-length
 ///             array (not <see langword="null"/>).
 /// </para>
 /// </summary>
 public IList <string> GetJobGroupNames()
 {
     _logger.Info("GetJobGroupNames");
     return(DoWithLock(() => _storage.JobGroupNames(), "Error on getting job group names"));
 }