KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
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?
Tags (comma-separated)
Save Edits
Cancel