Pārlūkot izejas kodu

任务串行改位并行执行

xueli.xue 9 gadi atpakaļ
vecāks
revīzija
b841861577

BIN
doc/XXL-JOB1.3.x用户手册_20160522_1547.docx


BIN
doc/~$L-JOB1.3.x用户手册_20160522_1547.docx


+ 1 - 2
xxl-job-admin/src/main/java/com/xxl/job/service/job/RemoteHttpJobBean.java

@@ -4,7 +4,6 @@ import java.util.Date;
 import java.util.HashMap;
 import java.util.Map;
 
-import org.quartz.DisallowConcurrentExecution;
 import org.quartz.JobExecutionContext;
 import org.quartz.JobExecutionException;
 import org.quartz.JobKey;
@@ -27,7 +26,7 @@ import com.xxl.job.core.util.DynamicSchedulerUtil;
  * “@DisallowConcurrentExecution” diable concurrent, thread size can not be only one, better given more
  * @author xuxueli 2015-12-17 18:20:34
  */
-@DisallowConcurrentExecution
+//@DisallowConcurrentExecution
 public class RemoteHttpJobBean extends QuartzJobBean {
 	private static Logger logger = LoggerFactory.getLogger(RemoteHttpJobBean.class);
 	

+ 1 - 1
xxl-job-admin/src/main/webapp/WEB-INF/template/jobinfo/index.ftl

@@ -188,7 +188,7 @@ public class DemoJobHandler extends IJobHandler {
 	<div class="modal-dialog modal-lg">
 		<div class="modal-content">
 			<div class="modal-header">
-            	<h4 class="modal-title" >新任务调度信息</h4>
+            	<h4 class="modal-title" >新任务调度信息</h4>
          	</div>
          	<div class="modal-body">
 				<form class="form-horizontal form" role="form" >