Click or drag to resize

ProcessDictionary<TKey, TValue> (ProcessQueue<KeyValuePair<TKey, TValue> > .ProcessItemsFunctionSignature, Double, Int32, Int32, Boolean, Boolean) Constructor

Creates a bulk-item ProcessDictionary<TKey, TValue> based on the generic DictionaryList<TKey, TValue> class.

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.244-beta+cf93f5f8aea4b941e9b426fe4e180c2bd85d31a2
Syntax
public ProcessDictionary(
	ProcessQueue<T> .ProcessItemsFunctionSignature processItemsFunction,
	double processInterval = 100,
	int maximumThreads = 5,
	int processTimeout = -1,
	bool requeueOnTimeout = false,
	bool requeueOnException = false
)
View Source

Parameters

processItemsFunction  ProcessQueue<T>.ProcessItemsFunctionSignature
A delegate ProcessDictionary<TKey, TValue> .ProcessItemFunctionSignature that defines a function signature to process multiple items at once.
processInterval  Double  (Optional)
A Double which represents the process interval.
maximumThreads  Int32  (Optional)
An Int32 that represents the max number of threads to use.
processTimeout  Int32  (Optional)
An Int32 that represents the amount of time before a process times out.
requeueOnTimeout  Boolean  (Optional)
A Boolean value that indicates whether the process should requeue the item after a timeout.
requeueOnException  Boolean  (Optional)
A Boolean value that indicates whether the process should requeue the item after an exception.
See Also