Java thread pool executor implementation with job execution that don't exceed a defined duration <p>I want to find a way to have an thread pool executor implementation where if a thread job execution exceed a defined duration, the thread is killed (then the executor will create a new thread for a future job).</p> <p>Does any library have that ? or does java 8 have this kind of executor ?</p> <p>Thanks.</p>