move Request To Resource
A request, in a request queue, is there because it's entity is suspended. This function will remove the supplied request from the specified queue and place it in the queue associated with the specified resource. If the resource has units of capacity available to satisfy the request, and the resource's queue would choose this request next (as for a seize arriving now), then the entity is resumed to allow the units to be allocated. Otherwise the entity stays suspended within the resource's queue and will be processed as a normal request for the resource. A waiting preemptor moved here preempts at the new resource as one arriving there would, under the rule it was called with: a preempt that named no rule keeps the rule of the resource it called for.
The specified resource must not be associated with the request. The request must be queued and in the specified queue. The entity must currently be suspended and must be associated with the supplied request. The request must be for a resource to be moved to a resource with a queue. A request that has been served, in the instant before its entity resumes to take the allocation, is no longer in its queue and cannot be moved: it has the units it waited for. Use canMoveRequestToResource to check.
Parameters
the request to move
the queue that the request is currently in
the new resource that the request to be for
the priority of the resume if the request can be resumed
indicated whether the removal of the request from its current queue will cause waiting time statistics to be collected for that queue. The default is false.