Same as Queue except Dequeue function blocks
until there is an object to return. Note: This class does not need
to be synchronized
Declaration Syntax
C# |
public class BlockingQueue<T> : Queue<T>
Generic Template
Parameters
- T
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
BlockingQueue < (Of < ( <' T > ) > ) > (IEnumerable < (Of < <' ( T > ) > > ) ) |
Create new BlockingQueue.
|
|
BlockingQueue < (Of < ( <' T > ) > ) > (Int32) |
Create new BlockingQueue.
|
|
BlockingQueue < (Of < ( <' T > ) > ) > () () () () |
Create new BlockingQueue.
|
|
Clear () () () () |
Remove all objects from the Queue.
|
|
Close () () () () |
Remove all objects from the Queue, resume all
dequeue threads.
|
|
Closed |
Gets flag indicating if queue has been
closed.
|
|
Dequeue () () () () |
Removes and returns the object at the
beginning of the Queue.
|
|
Dequeue(TimeSpan) |
Removes and returns the object at the
beginning of the Queue.
|
|
Dequeue(Int32) |
Removes and returns the object at the
beginning of the Queue.
|
|
Dequeue(Int32, T % ) |
|
|
Enqueue(T) |
Adds an object to the end of the Queue
|
|
Open () () () () |
Open Queue.
|
Assembly: OpenMetaverseTypes(Module: OpenMetaverseTypes.dll) Version: 0.0.0.0