ProcessQueueT(ProcessQueueTProcessItemFunctionSignature, Double, Int32, Int32, Boolean, Boolean) Constructor
Namespace: Gemstone.Threading.CollectionsAssembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.138 -- Release Build+45b5271a2dafa59bb75ccbb6019faabf2c5f392a
Gemstone.Threading.Collections.ProcessQueue = function(processItemFunction, processInterval, maximumThreads, processTimeout, requeueOnTimeout, requeueOnException);
Parameters
- processItemFunction ProcessQueueTProcessItemFunctionSignature
- Delegate that defines a method to process one item at a time.
- 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.