canAllocate

For use, before calling allocate()

Return

true if and only if resources can be selected according to the current resource selection rule that will have sufficient amount available to fill the request

Parameters

resourceSelectionRule

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