Best way to have just single instance of job at time

后端 未结 0 1512
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-01 10:14

I have a Spring Rest Controller endpoint:

@PostMapping("/someheavyjob")
public Response indexAllReports() {
    someService.startLongRunningOperation();         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题