任务串行改位并行执行

v1.3
xueli.xue 9 years ago
parent 71a033771f
commit b841861577

@ -4,7 +4,6 @@ import java.util.Date;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
import org.quartz.DisallowConcurrentExecution;
import org.quartz.JobExecutionContext; import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException; import org.quartz.JobExecutionException;
import org.quartz.JobKey; 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 * @DisallowConcurrentExecution diable concurrent, thread size can not be only one, better given more
* @author xuxueli 2015-12-17 18:20:34 * @author xuxueli 2015-12-17 18:20:34
*/ */
@DisallowConcurrentExecution //@DisallowConcurrentExecution
public class RemoteHttpJobBean extends QuartzJobBean { public class RemoteHttpJobBean extends QuartzJobBean {
private static Logger logger = LoggerFactory.getLogger(RemoteHttpJobBean.class); private static Logger logger = LoggerFactory.getLogger(RemoteHttpJobBean.class);

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

Loading…
Cancel
Save