totalAmountAllocated

Computes the total number of units of the specified resource that are allocated to the entity.

Return

the total amount requested over all the distinct allocations

Parameters

entity

the entity that might be using the resource