Class SynchronizeBlockingQueue<TE>
Inheritance
System.Object
SynchronizeBlockingQueue<TE>
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: FixAntenna.Common.Threading.Queue
Assembly: FixAntenna.Common.dll
Syntax
public class SynchronizeBlockingQueue<TE> : ISimpleBlockingQueue<TE>
Type Parameters
Name | Description |
---|---|
TE |
Constructors
SynchronizeBlockingQueue(Int32)
Declaration
public SynchronizeBlockingQueue(int limit)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | limit |
Methods
IsEmpty()
Declaration
public virtual bool IsEmpty()
Returns
Type | Description |
---|---|
System.Boolean |
Put(TE)
Declaration
public virtual void Put(TE item)
Parameters
Type | Name | Description |
---|---|---|
TE | item |
Size()
Returns the number of elements in this queue.
Declaration
public virtual int Size()
Returns
Type | Description |
---|---|
System.Int32 | the number of elements in this queue |
Take()
Declaration
public virtual TE Take()
Returns
Type | Description |
---|---|
TE |