remove

open override fun remove(qObj: ProcessModel.Entity.Request, waitStats: Boolean): Boolean(source)

Removes the first occurrence in the queue of the specified element Automatically collects waiting time statistics and number in queue statistics. If the queue does not contain the element then it is unchanged and false is returned

Return

True if the item was removed.

Parameters

qObj

The object to be removed

waitStats

Indicates whether waiting time statistics should be collected on the removed item, true means collect statistics