Resource Pool Allocation
class ResourcePoolAllocation(val entity: ProcessModel.Entity, val resourcePool: ResourcePool, theAmount: Int = 1, val queue: RequestQ, allocationName: String? = null)
An allocation represents a distinct usage of a resource by an entity with an amount allocated. Entities can have multiple allocations for the same resource. An allocation is in response to separate requests for units. Multiple requests by the same entity for units of the resource result in multiple allocations (when filled). An allocation is not created until the requested amount is available.
Constructors
Link copied to clipboard
constructor(entity: ProcessModel.Entity, resourcePool: ResourcePool, theAmount: Int = 1, queue: RequestQ, allocationName: String? = null)