Click or drag to resize
Akka.NETBlockingQueueT Class
This class represents a queue with the same characteristics of a BlockingCollectionT. The queue can enqueue items at either the front (FIFO) or the end (LIFO) of the collection.
Remarks
Note! Part of internal API. Breaking changes may occur without notice. Use at own risk.
Inheritance Hierarchy
SystemObject
  Akka.TestKit.InternalBlockingQueueT

Namespace:  Akka.TestKit.Internal
Assembly:  Akka.TestKit (in Akka.TestKit.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public class BlockingQueue<T>

Type Parameters

T
The type of item to store.

The BlockingQueueT type exposes the following members.

Constructors
  NameDescription
Public methodBlockingQueueT
Initializes a new instance of the BlockingQueueT class
Top
Properties
  NameDescription
Public propertyCount
The number of items that are currently in the queue.
Top
Methods
  NameDescription
Public methodAddFirst
Adds the specified item to the front of the queue.
Public methodEnqueue
Adds the specified item to the end of the queue.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodTake
Removes an item from the collection.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryEnqueue
Tries to add the specified item to the end of the queue within the specified time period. A token can be provided to cancel the operation if needed.
Public methodTryTake(T)
Tries to remove the specified item from the queue.
Public methodTryTake(T, Int32, CancellationToken)
Tries to remove the specified item from the queue within the specified time period. A token can be provided to cancel the operation if needed.
Top
Extension Methods
See Also