中国算力平台算力登记系统2.0
yanzhaofeige
8 days ago d16b55507ee921564c75032e46759bbea1b77455
commit | author | age
43dc29 1 package com.odcc.cpzidc.quartz.util;
Y 2
3 import org.quartz.DisallowConcurrentExecution;
4 import org.quartz.JobExecutionContext;
5 import com.odcc.cpzidc.quartz.domain.SysJob;
6
7 /**
8  * 定时任务处理(禁止并发执行)
9  * 
10  * @author ruoyi
11  *
12  */
13 @DisallowConcurrentExecution
14 public class QuartzDisallowConcurrentExecution extends AbstractQuartzJob
15 {
16     @Override
17     protected void doExecute(JobExecutionContext context, SysJob sysJob) throws Exception
18     {
19         JobInvokeUtil.invokeMethod(sysJob);
20     }
21 }