K
Karthik D V
Hi All,
I have the following requirement.
I have table which contains requestID, priority and the request
status(status can be 'Queued','Procesing','Completed','Failed')
I need a class which takes 5 top priority requests and process the
same simultaniously, now if any of these requests completed, for the
same slot I should get the next priority requests to process.
How do I do this? I thought og doing using ThreadPool, but in
threadPool we dont have the facility to know whether the given thread
is completed or not
Please help me in this regard.
Thank you.
I have the following requirement.
I have table which contains requestID, priority and the request
status(status can be 'Queued','Procesing','Completed','Failed')
I need a class which takes 5 top priority requests and process the
same simultaniously, now if any of these requests completed, for the
same slot I should get the next priority requests to process.
How do I do this? I thought og doing using ThreadPool, but in
threadPool we dont have the facility to know whether the given thread
is completed or not
Please help me in this regard.
Thank you.