StdAdoDelegateSelectTriggerToAcquire Method

Quartz.NET 3.0 API Documentation
Select the next trigger which will fire to fire between the two given timestamps in ascending order of fire time, and then descending by priority.

Namespace:  Quartz.Impl.AdoJobStore
Assembly:  Quartz (in Quartz.dll) Version: 3.0.0
Syntax

C#
public virtual Task<IReadOnlyCollection<TriggerKey>> SelectTriggerToAcquire(
	ConnectionAndTransactionHolder conn,
	DateTimeOffset noLaterThan,
	DateTimeOffset noEarlierThan,
	int maxCount,
	CancellationToken cancellationToken = null
)

Parameters

conn
Type: Quartz.Impl.AdoJobStoreConnectionAndTransactionHolder
The conn.
noLaterThan
Type: SystemDateTimeOffset
highest value of GetNextFireTimeUtc of the triggers (exclusive)
noEarlierThan
Type: SystemDateTimeOffset
highest value of GetNextFireTimeUtc of the triggers (inclusive)
maxCount
Type: SystemInt32
maximum number of trigger keys allow to acquired in the returning list.
cancellationToken (Optional)
Type: System.ThreadingCancellationToken
The cancellation instruction.

Return Value

Type: TaskIReadOnlyCollectionTriggerKey
A (never null, possibly empty) list of the identifiers (Key objects) of the next triggers to be fired.

Implements

IDriverDelegateSelectTriggerToAcquire(ConnectionAndTransactionHolder, DateTimeOffset, DateTimeOffset, Int32, CancellationToken)
See Also

Reference