remove All And Terminate
fun removeAllAndTerminate(waitStats: Boolean = false, afterTermination: (entity: ProcessModel.Entity) -> Unit? = null)
Removes and terminates all the requests waiting in the queue
Parameters
wait Stats
if true the waiting time statistics are collected on the usage of the queue. The default is false.
after Termination
a function to invoke after the process is successfully terminated