JobStoreSupportAcquireNextTriggers Method

Quartz.NET 3.0 API Documentation
Get a handle to the next N triggers to be fired, and mark them as 'reserved' by the calling scheduler.

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

C#
public virtual Task<IReadOnlyCollection<IOperableTrigger>> AcquireNextTriggers(
	DateTimeOffset noLaterThan,
	int maxCount,
	TimeSpan timeWindow,
	CancellationToken cancellationToken = null
)

Parameters

noLaterThan
Type: SystemDateTimeOffset

[Missing <param name="noLaterThan"/> documentation for "M:Quartz.Impl.AdoJobStore.JobStoreSupport.AcquireNextTriggers(System.DateTimeOffset,System.Int32,System.TimeSpan,System.Threading.CancellationToken)"]

maxCount
Type: SystemInt32

[Missing <param name="maxCount"/> documentation for "M:Quartz.Impl.AdoJobStore.JobStoreSupport.AcquireNextTriggers(System.DateTimeOffset,System.Int32,System.TimeSpan,System.Threading.CancellationToken)"]

timeWindow
Type: SystemTimeSpan

[Missing <param name="timeWindow"/> documentation for "M:Quartz.Impl.AdoJobStore.JobStoreSupport.AcquireNextTriggers(System.DateTimeOffset,System.Int32,System.TimeSpan,System.Threading.CancellationToken)"]

cancellationToken (Optional)
Type: System.ThreadingCancellationToken

[Missing <param name="cancellationToken"/> documentation for "M:Quartz.Impl.AdoJobStore.JobStoreSupport.AcquireNextTriggers(System.DateTimeOffset,System.Int32,System.TimeSpan,System.Threading.CancellationToken)"]

Return Value

Type: TaskIReadOnlyCollectionIOperableTrigger

[Missing <returns> documentation for "M:Quartz.Impl.AdoJobStore.JobStoreSupport.AcquireNextTriggers(System.DateTimeOffset,System.Int32,System.TimeSpan,System.Threading.CancellationToken)"]

Implements

IJobStoreAcquireNextTriggers(DateTimeOffset, Int32, TimeSpan, CancellationToken)
See Also

Reference