IDurableQueue<T>
interface
Namespace: Orleans.Durable.Journaling
Represents a first-in, first-out collection whose mutations are recorded in a journal.
public interface IDurableQueue<T> : IEnumerable<T>, IReadOnlyCollection<T>, IEnumerableRemarks
The queue takes ownership of the elements passed to it, and the journal records each mutation when it is made. To change an element, enqueue a new instance.
Methods
ClearRemoves all elements from the queue.Contains(T)Determines whether the queue contains the specified element.CopyTo(T[], int)Copies the queue elements to an array, starting at the specified array index.DequeueRemoves and returns the element at the beginning of the queue.Enqueue(T)Adds an element to the end of the queue.PeekReturns the element at the beginning of the queue without removing it.TryDequeue(T)Attempts to remove and return the element at the beginning of the queue.TryPeek(T)Attempts to return the element at the beginning of the queue without removing it.
