1234567891011121314151617181920212223242526272829303132 |
- //package com.xxl.job.admin.core.jobbean;
- //
- //import com.xxl.job.admin.core.thread.JobTriggerPoolHelper;
- //import com.xxl.job.admin.core.trigger.TriggerTypeEnum;
- //import org.quartz.JobExecutionContext;
- //import org.quartz.JobExecutionException;
- //import org.quartz.JobKey;
- //import org.slf4j.Logger;
- //import org.slf4j.LoggerFactory;
- //import org.springframework.scheduling.quartz.QuartzJobBean;
- //
- ///**
- // * http job bean
- // * “@DisallowConcurrentExecution” disable concurrent, thread size can not be only one, better given more
- // * @author xuxueli 2015-12-17 18:20:34
- // */
- ////@DisallowConcurrentExecution
- //public class RemoteHttpJobBean extends QuartzJobBean {
- // private static Logger logger = LoggerFactory.getLogger(RemoteHttpJobBean.class);
- //
- // @Override
- // protected void executeInternal(JobExecutionContext context)
- // throws JobExecutionException {
- //
- // // load jobId
- // JobKey jobKey = context.getTrigger().getJobKey();
- // Integer jobId = Integer.valueOf(jobKey.getName());
- //
- //
- // }
- //
- //}
|