posted 12 years ago
If you are executing using a Timer, then the first task will complete, and only then will the second one be started. If your tasks take longer than the delay between tasks, then either the next task will start immediately, or it will simply wait for the delay, depending on whether you used schedule() or scheduleAtFixedRate().
Regardless, your task should not take this long. Timer expects short tasks that execute quickly.