AngersZhuuuu commented on pull request #30131:
URL: https://github.com/apache/spark/pull/30131#issuecomment-716268687


   > If we want to take a look at the jdk implementation in case the 
documentation is unclear, please note that both `scheduleAtFixedRate` and 
`scheduleWithFixedDelay` rely on `ScheduleFutureTask`.
   
   Yea,  I will pay attention to this problem later
   
   > For (1) above, `time` will be set to `current time` + `period` -> and so 
delay between tasks is `gc delay` + `period`.
   
   `gc delay` + `period` should be interval of last task and current task. Use 
`scheduleAtFixedRate` is same.
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to