selectRequests

open override fun selectRequests(amountAvailable: Int, requestQ: RequestQ): List<ProcessModel.Entity.Request>

Determines the requests that will be allocated from the specified amount available from the request queue. The total amount requested by the returned requests must not exceed the amount available.

Return

the requests that were selected

Parameters

amountAvailable

the amount available

requestQ

the queue to search