next Request For Resource
Returns the next request that can be fully satisfied by the resource. If no requests can be satisfied, then null is returned. The selection is based on the queue discipline.
Return
the selected request or null
Parameters
resource
the resource to check