/// <summary> /// Get the names of all of the <see cref="T:Quartz.IJob"/> s that /// have the given group name. /// <para> /// If there are no jobs in the given group name, the result should be a /// zero-length array (not <see langword="null"/>). /// </para> /// </summary> /// <param name="matcher"/> /// <returns/> public Task <IReadOnlyCollection <JobKey> > GetJobKeys(GroupMatcher <JobKey> matcher, CancellationToken cancellationToken = default(CancellationToken)) { _logger.Info("GetJobKeys"); return(Task.FromResult(DoWithLock(() => _storage.JobKeys(matcher), "Error on getting job keys"))); }
/// <summary> /// Get the names of all of the <see cref="T:Quartz.IJob"/> s that /// have the given group name. /// <para> /// If there are no jobs in the given group name, the result should be a /// zero-length array (not <see langword="null"/>). /// </para> /// </summary> /// <param name="matcher"/> /// <returns/> public global::Quartz.Collection.ISet <JobKey> GetJobKeys(GroupMatcher <JobKey> matcher) { _logger.Info("GetJobKeys"); return(DoWithLock(() => _storage.JobKeys(matcher), "Error on getting job keys")); }