All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.mingsoft.quartz.job.QuartzDisallowConcurrentExecution Maven / Gradle / Ivy

There is a newer version: 1.0.1
Show newest version
package net.mingsoft.quartz.job;

import net.mingsoft.quartz.entity.JobEntity;
import net.mingsoft.quartz.utils.JobInvokeUtil;
import org.quartz.DisallowConcurrentExecution;
import org.quartz.JobExecutionContext;

/**
 * 定时任务处理(禁止并发执行)
 * 
 * @author 铭飞开源团队
 *
 */
@DisallowConcurrentExecution
public class QuartzDisallowConcurrentExecution extends BaseQuartzJob
{
    @Override
    protected void doExecute(JobExecutionContext context, JobEntity jobEntity) throws Exception
    {
        JobInvokeUtil.invokeMethod(jobEntity);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy