- addToQueue
Add an Element to the queue.
- finishConsuming
Finish consuming an element, removing it from the queue. The operation may fail
if there is no eleme
- getBeingConsumed
Get a list of elements in the queue that are being consumed.
- getQueued
Get a list of elements in the queue that are not being consumed.
- recordProgress
Record progress of an element in the queue. The operation may fail if there is
no element in the que
- remove
Remove an element from the queue, regardless of who the consumer is.
- size
Get the size of the queue, which includes both elements that are being consumed
and elements that ar
- startConsuming
Start consuming an element from the queue.
- stopConsumingAndAddBackToQueue
Stop consuming an element and add it back to the queue to allow it to be
consumed again. The operati
- toHighestPriority
Sets the priority of the given element to the highest priority if the element
exists and is not bein