Skip to content

IDurableQueue<T>

interface

Namespace: Orleans.Journaling

Represents a first-in, first-out collection whose mutations are recorded in a journal.
public interface IDurableQueue<T> : IEnumerable<T>, IReadOnlyCollection<T>, IEnumerable

Methods

  • Clear Removes 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.
  • Dequeue Removes and returns the element at the beginning of the queue.
  • Enqueue(T) Adds an element to the end of the queue.
  • Peek Returns 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.