Conveyor Q
class ConveyorQ @JvmOverloads constructor(parent: ModelElement, name: String? = null, discipline: Queue.Discipline = Discipline.FIFO) : Queue<Conveyor.ConveyorRequest> (source)
Constructors
Link copied to clipboard
constructor(parent: ModelElement, name: String? = null, discipline: Queue.Discipline = Discipline.FIFO)
Functions
Link copied to clipboard
fun removeAllAndTerminate(waitStats: Boolean = false, afterTermination: (entity: ProcessModel.Entity) -> Unit? = null)
Removes and terminates all the requests waiting in the queue
Link copied to clipboard
fun removeAndTerminate(request: Conveyor.ConveyorRequest, waitStats: Boolean = false, afterTermination: (entity: ProcessModel.Entity) -> Unit? = null)
Removes the request from the queue and tells the associated entity to terminate its process. The process that was suspended because the entity's request was placed in the queue is immediately terminated.