Click or drag to resize

ConcurrentIsolatedQueueT Class

Provides a buffer of point data where reads are isolated from writes. This class differs from IsolatedQueueT because writes can be concurrent. Reads on the other hand have to be externally synchronized.
Inheritance Hierarchy
SystemObject
  GSF.CollectionsConcurrentIsolatedQueueT

Namespace: GSF.Collections
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.218-beta+101eee949414e414795e55a6e73d88938f0177b8
Syntax
public class ConcurrentIsolatedQueue<T>
where T : class
View Source

Type Parameters

T

The ConcurrentIsolatedQueueT type exposes the following members.

Constructors
 NameDescription
Public methodConcurrentIsolatedQueueT Creates an IsolatedQueueT
Top
Properties
 NameDescription
Public propertyCount The number of elements in the queue.
Top
Methods
 NameDescription
Public methodDequeue Dequeues all of the items into the provided array
Public methodEnqueue(T) Adds the provided item to the ConcurrentIsolatedQueueT. This method is thread safe.
Public methodEnqueue(T, Int32, Int32) Adds the provided items to the IsolatedQueueT.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryDequeue Attempts to dequeue the specified item from the ConcurrentIsolatedQueueT. This method is NOT thread safe.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also