Click or drag to resize

ProcessQueueT(ProcessQueueTProcessItemsFunctionSignature, Double, Int32, Int32, Boolean, Boolean) Constructor

Creates a bulk item ProcessQueueT based on the generic List(Of T) class.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.207-beta+1781b796b2aa7a54013a031eb432fe4ccee31867
Syntax
public ProcessQueue(
	ProcessQueueTProcessItemsFunctionSignature processItemsFunction,
	double processInterval = 100,
	int maximumThreads = 5,
	int processTimeout = -1,
	bool requeueOnTimeout = false,
	bool requeueOnException = false
)
View Source

Parameters

processItemsFunction  ProcessQueueTProcessItemsFunctionSignature
Delegate that defines a method to process multiple items at once.
processInterval  Double  (Optional)
a Double value which represents the process interval in milliseconds.
maximumThreads  Int32  (Optional)
The maximum number of threads for the queue to use.
processTimeout  Int32  (Optional)
The number of seconds before a process should timeout.
requeueOnTimeout  Boolean  (Optional)
A Boolean value that indicates whether a process should requeue an item on timeout.
requeueOnException  Boolean  (Optional)
A Boolean value that indicates whether a process should requeue after an exception.
See Also