How to avoid that a ThreadPoolExecutor exceeds the queue capacity in Java?

后端 未结 0 639
渐次进展
渐次进展 2020-12-15 13:49

I have 4 tasks that should run independently. Each tasks has a different execution interval.

  1. task: 15 seconds
  2. task: 30 seconds
  3. task: 60 second
相关标签:
回答
  • 消灭零回复
提交回复
热议问题