Fail the queue: current and subsequent pollers will be completed with the given exception.
Fail the queue: current and subsequent pollers will be completed with the given exception.
Insert the given element at the tail of the queue.
Insert the given element at the tail of the queue.
Retrieves and removes the head of the queue, completing the returned future when the element is available.
Retrieves and removes the head of the queue, completing the returned future when the element is available.
An asynchronous FIFO queue. In addition to providing {{offer()}} and {{poll()}}, the queue can be "failed", flushing current pollers.