selectMovableResources

Uses the pool's resource selection rule to select resources from those that are available that have enough units available to satisfy the request in full. If there are insufficient resources in the pool to satisfy the full amount, then the returned list will be empty. In general, the returned list may have more units available than the requested amount.

Return

a list, which may be empty, that has resources that can satisfy the requested amount

Parameters

resourceSelectionRule

the resource selection rule to use for selecting the resources The null rule case just checks if any are available.