v1.8.2
xuxueli 7 years ago
parent 1970f7f3b8
commit 03979398f1

@ -78,7 +78,7 @@ public final class XxlJobDynamicScheduler implements ApplicationContextAware {
// valid
Assert.notNull(scheduler, "quartz scheduler is null");
logger.info(">>>>>>>>> init quartz scheduler success.[{}]", scheduler);
logger.info(">>>>>>>>> init xxl-job admin success.");
}
public void destroy(){

@ -133,7 +133,7 @@ public class XxlJobExecutor implements ApplicationContextAware {
// ---------------------- job handler repository ----------------------
private static ConcurrentHashMap<String, IJobHandler> jobHandlerRepository = new ConcurrentHashMap<String, IJobHandler>();
public static IJobHandler registJobHandler(String name, IJobHandler jobHandler){
logger.info("xxl-job register jobhandler success, name:{}, jobHandler:{}", name, jobHandler);
logger.info(">>>>>>>>>>> xxl-job register jobhandler success, name:{}, jobHandler:{}", name, jobHandler);
return jobHandlerRepository.put(name, jobHandler);
}
public static IJobHandler loadJobHandler(String name){

@ -39,7 +39,7 @@ public class XxlJobConfig {
@Bean(initMethod = "start", destroyMethod = "destroy")
public XxlJobExecutor xxlJobExecutor() {
logger.error("------------ xxlJobExecutor -----------");
logger.info(">>>>>>>>>>> xxl-job config init.");
XxlJobExecutor xxlJobExecutor = new XxlJobExecutor();
xxlJobExecutor.setIp(ip);
xxlJobExecutor.setPort(port);

Loading…
Cancel
Save