Resource Pool With Q
class ResourcePoolWithQ @JvmOverloads constructor(parent: ModelElement, resources: List<Resource>, queue: RequestQ? = null, name: String? = null) : ResourcePool(source)
Constructors
Link copied to clipboard
constructor(parent: ModelElement, resources: List<Resource>, queue: RequestQ? = null, name: String? = null)
Functions
Link copied to clipboard
fun seizeTrigger(amountNeeded: Int = 1, seizePriority: Int = ProcessModel.SEIZE_PRIORITY, resourceSelectionRule: ResourceSelectionRuleIfc = defaultResourceSelectionRule, resourceAllocationRule: ResourceAllocationRuleIfc = defaultResourceAllocationRule, recordRenegedWait: Boolean = true): WaitTrigger<ResourcePoolAllocation>
A trigger for units of this pool, waiting in its own queue, for use in a wait for the first of several things (waitForFirst). As the form of ResourcePool that takes a queue.