← Quiz: Scheduling and Async: all 10 questions
Quiz: Scheduling and Async · Question 2 of 10
With fixedRate = 10 seconds, a run unexpectedly takes 15 seconds. What happens to the next run?
With fixedRate = 10 seconds, a run unexpectedly takes 15 seconds. What happens to the next run?
- A.It starts as soon as the slow run finishes, without overlapping it
- B.It runs at the same time as the slow run on another thread
- C.It is skipped forever
- D.The application stops
Answer & explanation
Correct answer: It starts as soon as the slow run finishes, without overlapping it
Runs of the same scheduled job do not overlap; a late run starts right after the previous one ends.
Can you get the rest right without peeking?
Take the timed Quiz: Scheduling and Async quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →