Constructs a new queue with the given id and the admittance policy
Constructs a new queue with the given id
Returns this queue's id
Places an item into this queue and wakes up one of the waiter(s)
Returns the number of items in the queue
Returns a string representation of this queue
Blocks until an item is available for dequeuing.
Blocks up until the timeout for an item to become available for dequeuing.
Queue type