ResourceSelectionRule

Returns a list of resources that have enough available to meet the request. The returned list will have resources such that the total number of available units is greater than or equal to the amount of the request. If the returned list is empty, this means that there were not sufficient available resource units to fully meet the request. It is important to note that the returned list may have more units available than requested. Resource allocation rules are used to select from the returned list to specify which of the list of resources may be allocated to meet the request.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun selectResources(amountNeeded: Int, list: List<Resource>): List<Resource>