Else use fixedRate
Reference URL: https://stackoverflow.com/a/35094357/6462295
But I'm not sure will it queue up the Spring schedule...( yet to get a way to verify... :-\ )
But tested, definitely
java.util.concurrent.locks.ReentrantLock
Implementation with @Scheduled with cron
Reference URL: https://stackoverflow.com/a/74900033/6462295java.util.concurrent.locks.ReentrantLock
https://stackoverflow.com/a/74900033/6462295
No comments:
Post a Comment