Interface IDistributedQueue<T>
This interface contains methods and parameters for Distributed Queue.
Inherited Members
Assembly: Alachisoft.NCache.Client.dll
Syntax
public interface IDistributedQueue<T> : IEnumerable<T>, ICollection, IEnumerable, IDistributedDataTypes, ILockable, INotifiable
Type Parameters
| Name | Description |
|---|---|
| T | The type of elements in the Queue. |
Methods
| Name | Description |
|---|---|
| Clear() | Removes all objects from the IQueue. |
| Contains(T) | Determines whether the element exists in IQueue. |
| CopyTo(T[], Int32) | Copies the IQueue elements to the specified array, starting at the specified index. |
| Dequeue() | Removes and returns the object at the beginning of the IQueue. |
| DequeueBulk(Int32) | Removes and returns a list of objects at the beginning of the IQueue. |
| Enqueue(T) | Adds an object to the end of the IQueue. |
| EnqueueBulk(IList<T>) | Adds a list of objects to the end of the IQueue. |
| Peek() | Returns the object at the beginning of the IQueue without removing it. |
| ToArray() | Copies the IQueue elements to a new array. |