Esempio n. 1
0
 /// <summary>
 /// Get the names of all of the <see cref="T:Quartz.ITrigger"/>s
 ///             that have the given group name.
 /// <para>
 /// If there are no triggers in the given group name, the result should be a
 ///             zero-length array (not <see langword="null"/>).
 /// </para>
 /// </summary>
 public Task <IReadOnlyCollection <TriggerKey> > GetTriggerKeys(GroupMatcher <TriggerKey> matcher, CancellationToken cancellationToken = default(CancellationToken))
 {
     _logger.Info("GetTriggerKeys");
     return(Task.FromResult(DoWithLock(() => _storage.TriggerKeys(matcher), "Error on getting trigger keys")));
 }
Esempio n. 2
0
 /// <summary>
 /// Get the names of all of the <see cref="T:Quartz.ITrigger"/>s
 ///             that have the given group name.
 /// <para>
 /// If there are no triggers in the given group name, the result should be a
 ///             zero-length array (not <see langword="null"/>).
 /// </para>
 /// </summary>
 public global::Quartz.Collection.ISet <TriggerKey> GetTriggerKeys(GroupMatcher <TriggerKey> matcher)
 {
     _logger.Info("GetTriggerKeys");
     return(DoWithLock(() => _storage.TriggerKeys(matcher), "Error on getting trigger keys"));
 }