We have a scenario where tasks submitted to ThreadPoolExecutor are long running. When the thread pool is started we start it with core pool size = 5, max pool size = 20 and queu
i guess the best solution would be override the execute method of ThreadPoolExecutor and introduce the changes in that.