提交 | 用户 | 时间
|
e7c126
|
1 |
//package com.xxl.job.admin.core.jobbean; |
H |
2 |
// |
|
3 |
//import com.xxl.job.admin.core.thread.JobTriggerPoolHelper; |
|
4 |
//import com.xxl.job.admin.core.trigger.TriggerTypeEnum; |
|
5 |
//import org.quartz.JobExecutionContext; |
|
6 |
//import org.quartz.JobExecutionException; |
|
7 |
//import org.quartz.JobKey; |
|
8 |
//import org.slf4j.Logger; |
|
9 |
//import org.slf4j.LoggerFactory; |
|
10 |
//import org.springframework.scheduling.quartz.QuartzJobBean; |
|
11 |
// |
|
12 |
///** |
|
13 |
// * http job bean |
|
14 |
// * “@DisallowConcurrentExecution” disable concurrent, thread size can not be only one, better given more |
|
15 |
// * @author xuxueli 2015-12-17 18:20:34 |
|
16 |
// */ |
|
17 |
////@DisallowConcurrentExecution |
|
18 |
//public class RemoteHttpJobBean extends QuartzJobBean { |
|
19 |
// private static Logger logger = LoggerFactory.getLogger(RemoteHttpJobBean.class); |
|
20 |
// |
|
21 |
// @Override |
|
22 |
// protected void executeInternal(JobExecutionContext context) |
|
23 |
// throws JobExecutionException { |
|
24 |
// |
|
25 |
// // load jobId |
|
26 |
// JobKey jobKey = context.getTrigger().getJobKey(); |
|
27 |
// Integer jobId = Integer.valueOf(jobKey.getName()); |
|
28 |
// |
|
29 |
// |
|
30 |
// } |
|
31 |
// |
|
32 |
//} |