ProcessQueueT(ProcessQueueTProcessItemsFunctionSignature, ProcessQueueTCanProcessItemFunctionSignature, Double, Int32, Int32, Boolean, Boolean) Constructor
Creates a bulk item
ProcessQueueT based on the generic List(Of T) class.
Namespace: Gemstone.Threading.CollectionsAssembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.128 -- Release Build+d4a9a653be1def5888b9be91bb1825c8655f3529
Gemstone.Threading.Collections.ProcessQueue = function(processItemsFunction, canProcessItemFunction, processInterval, maximumThreads, processTimeout, requeueOnTimeout, requeueOnException);
Parameters
- processItemsFunction ProcessQueueTProcessItemsFunctionSignature
- Delegate that defines a method to process multiple items at once.
- canProcessItemFunction ProcessQueueTCanProcessItemFunctionSignature (Optional)
- Delegate that determines if an item can currently be processed.
- 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.