2023-04-06

Spring Boot @Scheduled only run 1 thread.

 

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 


Implementation with @Scheduled with cron

Reference URL: https://stackoverflow.com/a/74900033/6462295

java.util.concurrent.locks.ReentrantLock




https://stackoverflow.com/a/74900033/6462295









No comments:

Post a Comment