I am working on the Executors in java to concurrently run more threads at a time.
I have a set of Runnable Objects and i assign it to the Exceutors.The Executor is working fine
and every thing is fine.But after all the tasks are executed in the pool ,the java program is not terminated,i think the Executor takes some time to kill the threads.please anyone help me to reduce the time taken by the executor after executing all tasks.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…