Removes queue's data files automatically after all outputPorts releases processed queue files.
Removes queue's data files automatically after all
outputPorts releases processed queue files.
The callback onReleased
is called once processed.
Closes the queue and all its persistent storage.
Commits the queue's index, this index is mounted when the queue is initialized next time
Commits the queue's index, this index is mounted when the queue is initialized next time
The id of the output port
to be committed for next read
Fetches the first element from the queue and removes it from the queue.
Fetches the first element from the queue and removes it from the queue.
The first element in the queue, or None if the queue is empty.
Adds an element to the queue.
Adds an element to the queue.
The element to be added.
Persistent queue using Chronicle Queue as implementation.
The type of elements to be stored in the queue.