Multi Threading Gurus,
I have to execute a set of runnable tasks in parallel and each of the task shouldn't execute more than 2 mins.
I was thinking of using ThreadPoolExecutor, but there is seems to be no way to interrupt / configure timeout for a task. I can only configure the timeout for the pool.
Correct me if I am wrong. A task when submitted to an executor and when the worker thread picks up the task even the executor has no control over the task then. It is al in the hands of the worker thread.
Thanks
Abhay
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.