Allocation

constructor(entity: ProcessModel.Entity, resource: Resource, theAmount: Int = 1, queue: RequestQ, allocationName: String? = null)

Parameters

entity

the entity associated with the allocation

resource

the resource associated with the allocation

theAmount

the amount allocated of the resource to the entity

queue

the queue that the entity had to wait in when requesting the allocation

allocationName

the name of the allocation processed by the resource. The default actions are supplied by the entity associated with the allocation.