13
I know the traditional way to delay a thread by using sleep method. My question is supposedly i have the following:
ExecutorService threadExecutor = Executors.newFixedThreadPool(5);
Is there a way say by using ExecutorService class to have a delay between each threads without using sleep method? I mean is there a method in ExecutorService class for this purpose?