ProcessQueueTCreateAsynchronousQueue(ProcessQueueTProcessItemsFunctionSignature, Int32) Method

Creates a new asynchronous, bulk item ProcessQueueT with the default settings: ProcessInterval = 100, ProcessTimeout = Infinite, RequeueOnTimeout = False, RequeueOnException = False.

Definition

Namespace: Gemstone.Threading.Collections
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.147 -- Release Build+71918e29738e2d0700de8aec0ad72324b16f1428
public static ProcessQueue<T> CreateAsynchronousQueue(
	ProcessQueueTProcessItemsFunctionSignature processItemsFunction,
	int maximumThreads
)

Parameters

processItemsFunction  ProcessQueueTProcessItemsFunctionSignature
Delegate that defines a method to process multiple items at once.
maximumThreads  Int32
An Int32 value that determines the maximum number of threads used to process items.

Return Value

ProcessQueueT
A ProcessQueue object based on type T.

See Also