remove And Resume
fun removeAndResume(entity: ProcessModel.Entity, resumePriority: Int = ProcessModel.RESUME_PRIORITY, waitStats: Boolean = true)(source)
Removes the entity from the queue and tells it to resume its process
Parameters
entity
the entity to remove from the queue. It must be in the queue; check contains(entity) first.
resume Priority
the priority for the resumption of the suspended process
wait Stats
if true the waiting time statistics are collected on the usage of the queue