AsyncQueueT Class

Creates a fast, light-weight asynchronous processing queue with very low contention.

Definition

Namespace: Gemstone.Threading.Collections
Assembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.128 -- Release Build+d4a9a653be1def5888b9be91bb1825c8655f3529
public class AsyncQueue<T>
Inheritance
Object    AsyncQueueT

Type Parameters

T
Type of items to process.

Constructors

AsyncQueueT Creates a new AsyncQueueT.
AsyncQueueT(SynchronizedOperationType) Creates a new AsyncQueueT.

Properties

Count Gets the total number of items currently in the queue.
Enabled Gets or sets flag that enables or disables processing.
ProcessItemFunction Gets or sets item processing function.

Methods

Enqueue Enqueues an item for processing.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Events

ProcessException Event that is raised if an exception is encountered while attempting to processing an item in the AsyncQueueT.

See Also