JAVA - Cancel the ThreadPoolExecutor running tasks

Posted by rgomesf on Stack Overflow See other posts from Stack Overflow or by rgomesf
Published on 2010-05-13T17:24:44Z Indexed on 2010/05/13 17:44 UTC
Read the original article Hit count: 230

Filed under:
|
|
|

What I need is a method similar to shutdownNow, but, be able to submit new tasks after that. My ThreadPoolExecutor will be accepting a random number of tasks during my program execution.

© Stack Overflow or respective owner

Related posts about java

Related posts about tasks