JAVA - Cancel the ThreadPoolExecutor running tasks
- by rgomesf
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.