seize Trigger
fun seizeTrigger(amountNeeded: Int = 1, seizePriority: Int = ProcessModel.SEIZE_PRIORITY, resourceSelectionRule: ResourceSelectionRuleIfc = defaultResourceSelectionRule, resourceAllocationRule: ResourceAllocationRuleIfc = defaultResourceAllocationRule, recordRenegedWait: Boolean = true): WaitTrigger<ResourcePoolAllocation>(source)
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.
Parameters
amount Needed
the number of units wanted; at least 1
seize Priority
the priority of the yield a wait with this trigger makes before it starts
resource Selection Rule
the rule that selects the members, as for seize
resource Allocation Rule
the rule that allocates among them, as for seize
record Reneged Wait
whether a request that leaves without service records its wait in the queue's time in queue