浏览代码

update document

xuxueli 5 年前
父节点
当前提交
0c40634451
共有 3 个文件被更改,包括 60 次插入60 次删除
  1. 1 1
      README.md
  2. 29 29
      doc/XXL-JOB-English-Documentation.md
  3. 30 30
      doc/XXL-JOB官方文档.md

+ 1 - 1
README.md 查看文件

@@ -1,5 +1,5 @@
1 1
 <p align="center">
2
-    <img src="https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/xxl-logo.jpg" width="150">
2
+    <img src="https://www.xuxueli.com/xxl-job/data/images/xxl-logo.jpg" width="150">
3 3
     <h3 align="center">XXL-JOB</h3>
4 4
     <p align="center">
5 5
         XXL-JOB, a lightweight distributed task scheduling framework.

+ 29 - 29
doc/XXL-JOB-English-Documentation.md 查看文件

@@ -277,7 +277,7 @@ The concrete contet describe as follows:
277 277
 If you has finished step 1,then you can compile the project in maven and deploy the war package to tomcat.
278 278
 the url to visit is :http://localhost:8080/xxl-job-admin (this address will be used by executor and use it as callback url),the index page after login in is as follow
279 279
 
280
-![index page after login in](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_6yC0.png "index page after login in")
280
+![index page after login in](https://www.xuxueli.com/xxl-job/data/images/img_6yC0.png "index page after login in")
281 281
 
282 282
 Now,the “xxl-job-admin” project is deployed success.
283 283
 
@@ -371,16 +371,16 @@ Now let’s create a "GLUE模式(Java)" job,if you want to learn more about it ,
371 371
 #### Step 1:Create new job
372 372
 Login in xxl-job-admin,click on the"新建任务" button, configure the job params as follows and click "保存" button to save the job info.
373 373
 
374
-![task management](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_o8HQ.png "task management")
374
+![task management](https://www.xuxueli.com/xxl-job/data/images/img_o8HQ.png "task management")
375 375
 
376
-![create task](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_ZAsz.png "create task")
376
+![create task](https://www.xuxueli.com/xxl-job/data/images/img_ZAsz.png "create task")
377 377
 
378 378
 #### Step 2:develop “GLUE模式(Java)” job
379 379
 Click “GLUE” button on the right of the job to go to GLUE editor view as shown below。“GLUE模式(Java)” mode task has been inited with default task code for printing Hello World。 ( “GLUE模式(Java)” mode task is a java code fragment implements IJobHandler interface,it will be executed in executor,you can use @Resource/@Autowire to inject other java bean instance,if you want to see more info please go to chapter 3)
380 380
 
381
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_Fgql.png "在这里输入图片标题")
381
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_Fgql.png "在这里输入图片标题")
382 382
 
383
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_dNUJ.png "在这里输入图片标题")
383
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_dNUJ.png "在这里输入图片标题")
384 384
 
385 385
 #### Step 3:trigger task
386 386
 If you want to run the job manually please click "执行" button on the right of the job(usually we trigger job by Cron expression)
@@ -388,11 +388,11 @@ If you want to run the job manually please click "执行" button on the right of
388 388
 #### Step 4:view log 
389 389
 Click “日志” button on the right side of the task you will go to the task log list ,you will see the schedule history records of the task and the schedule detail info,execution info and execution params.If you click the “执行日志” button on the right side of the task log record,you will go to log console and view the execute log in the course of task execution.
390 390
 
391
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_inc8.png "在这里输入图片标题")
391
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_inc8.png "在这里输入图片标题")
392 392
 
393 393
 On the log console,you can view task execution log on the executor immediately after it dump to log file,so you can monitor the task execution process by Rolling way.
394 394
 
395
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_eYrv.png "在这里输入图片标题")
395
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_eYrv.png "在这里输入图片标题")
396 396
 
397 397
 ## 3. Task details
398 398
 
@@ -440,12 +440,12 @@ The task logic exist in the executor project as JobHandler,the develop steps as
440 440
     - 3, add  “@JobHandler(value=" customize jobhandler name")” annotation,the value stand for JobHandler name,it will be used as JobHandler property when create a new task in the schedule center.
441 441
     (go and see DemoJobHandler in the xxl-job-executor-example project, as shown below)
442 442
 
443
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_oLlM.png "在这里输入图片标题")
443
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_oLlM.png "在这里输入图片标题")
444 444
 
445 445
 #### Step 2:create task in schedule center
446 446
 If you want learn more about configure item please go and sedd “Description of configuration item”,select  "BEAN模式" as run mode,property JobHandler please fill in the value defined by @JobHande.
447 447
 
448
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_ZAsz.png "在这里输入图片标题")
448
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_ZAsz.png "在这里输入图片标题")
449 449
 
450 450
 ### 3.2 GLUE模式(Java)
451 451
 Task source code is maintained in the schedule center and can be updated by Web IDE online, it will be compiled and effective real-time,didn’t need to assign JobHandler,develop flow shown as below:
@@ -453,14 +453,14 @@ Task source code is maintained in the schedule center and can be updated by Web
453 453
 #### Step 1:create task in schedule center
454 454
 If you want learn more about configure item please go and sedd “Description of configuration item”,select "GLUE模式(Java)" as run mode.
455 455
 
456
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_tJOq.png "在这里输入图片标题")
456
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_tJOq.png "在这里输入图片标题")
457 457
 
458 458
 #### Step 2:develop task source code
459 459
 Select the task record and click “GLUE” button on the righe of it,it will go to GLUE task’s WEB IDE page,on this page yo can edit you task code(also can edit in other IDE tools,copy and paste into this page).
460 460
 
461 461
 Version backtrack(support 30 versions while backtrack):on the WEB IDE page of GLUE task,on upper right corner drop down box please select “版本回溯”,it will display GLUE updated history,select the version you want it will display the source code of this version,it will backtrace the version while click save button. 
462 462
 
463
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_dNUJ.png "在这里输入图片标题")
463
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_dNUJ.png "在这里输入图片标题")
464 464
 
465 465
 ### 3.3 GLUE模式(Shell)
466 466
 
@@ -472,7 +472,7 @@ Select the task record and click “GLUE” button on the righe of it,it will go
472 472
 
473 473
 Actually it is a shell script fragment.
474 474
 
475
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_iUw0.png "在这里输入图片标题")
475
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_iUw0.png "在这里输入图片标题")
476 476
 
477 477
 ### 3.4 GLUE模式(Python)
478 478
 
@@ -484,19 +484,19 @@ Select the task record and click “GLUE” button on the righe of it,it will go
484 484
 
485 485
 Actually it is a python script fragment.
486 486
 
487
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_BPLG.png "在这里输入图片标题")
487
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_BPLG.png "在这里输入图片标题")
488 488
 
489 489
 
490 490
 ## 4. Task Management
491 491
 ### 4.0 configure executor
492 492
 click"执行器管理" on the left menu,it will go to the page as shown below:
493
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_Hr2T.png "在这里输入图片标题")
493
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_Hr2T.png "在这里输入图片标题")
494 494
 
495 495
     1,"调度中心OnLine”:display schedule center machine list,when task is scheduled it will callback schedule center for notify the execution result in failover mode, so that it can avoid a single point scheduler;
496 496
     2,"执行器列表" :display all nodes under this executor group.
497 497
 
498 498
 If you want to create a new executor,please click "+新增执行器" button: 
499
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_V3vF.png "在这里输入图片标题")
499
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_V3vF.png "在这里输入图片标题")
500 500
 
501 501
 ### Description of executor attributes
502 502
 
@@ -523,19 +523,19 @@ choose the task you want to edit and click” GLUE”button on the right side of
523 523
 ### 4.4 pause/recover task
524 524
 You can pause or recover task but it just fit to follow up schedule trigger and won’t affect scheduled tasks,if you want to stop tasks which has been triggered,please go and see “4.8 stop the running task”
525 525
 
526
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_ZAhX.png "在这里输入图片标题")
526
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_ZAhX.png "在这里输入图片标题")
527 527
 
528 528
 ### 4.5 manually trigger
529 529
 You can trigger a task manually by Click “执行”button,it won’t affect original scheduling rules.
530 530
 
531
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_Z5wp.png "在这里输入图片标题")
531
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_Z5wp.png "在这里输入图片标题")
532 532
 
533 533
 ### 4.6 view schedule log
534 534
 You can view task’s history schedule log by click “日志” button,on the history schedule log list page you can view every time of task’s schedule result,execution result and so on,click “执行日志” button can view the task’s full execute log.
535 535
 
536
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_9235.png "在这里输入图片标题")
536
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_9235.png "在这里输入图片标题")
537 537
 
538
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_inc8.png "在这里输入图片标题")
538
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_inc8.png "在这里输入图片标题")
539 539
 
540 540
     调度时间:schedule center trigger time when schedule and send execution signal to executor;
541 541
     调度结果:schedule center trigger task’s result, 200 represent success,500 or other number stands for fail;
@@ -553,12 +553,12 @@ You can view task’s history schedule log by click “日志” button,on the h
553 553
 ### 4.7 view execution log
554 554
 Click the “执行日志” button on the right side of the record,you can go to the execution log page,you can view the full execution log of the logic business code, shown as below:
555 555
 
556
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_tvGI.png "在这里输入图片标题")
556
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_tvGI.png "在这里输入图片标题")
557 557
 
558 558
 ### 4.8 stop running tasks
559 559
 Just fit to running tasks,on the task log list page,click “终止任务” button on the right side of the record, it will send stop command to the executor where the task was executed,finally the task was killed and the task instance execute queue of this task will be clear.
560 560
 
561
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_hIci.png "在这里输入图片标题")
561
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_hIci.png "在这里输入图片标题")
562 562
 
563 563
 It is implemented by interrupt execute thread, it will trigger InterruptedException.so if JobHandler catch this execuption and handle this exception this function is unavailable.
564 564
 
@@ -579,14 +579,14 @@ If JobHandler start child thread,child thread also must not catch InterruptedExc
579 579
 
580 580
 ### 4.9 delete execution log
581 581
 On the task log list page, after you select executor and task, you can click"删除" button on the right side and it will pop-up "日志清理" window,on the pop-up window you can choose different log delete policy,choose the policy you want to execute and click "确定" button it will delele relative logs:
582
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_Ypik.png "在这里输入图片标题")
582
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_Ypik.png "在这里输入图片标题")
583 583
 
584
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_EB65.png "在这里输入图片标题")
584
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_EB65.png "在这里输入图片标题")
585 585
 
586 586
 ### 4.10 delete task
587 587
 Click the delete button on the right side of the task,the task will be deteted.
588 588
 
589
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_Z9Qr.png "在这里输入图片标题")
589
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_Z9Qr.png "在这里输入图片标题")
590 590
 
591 591
 ## 5. Overall design
592 592
 ### 5.1 Source directory introduction
@@ -601,7 +601,7 @@ XXL-JOB schedule module is implemented based on Quartz cluster,it’s “databas
601 601
 
602 602
 XXL-JOB custom Quartz table structure prefix(XXL_JOB_QRTZ_).
603 603
 
604
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_bNwm.png "在这里输入图片标题")
604
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_bNwm.png "在这里输入图片标题")
605 605
 
606 606
 The added tables as shown below:
607 607
     - XXL_JOB_QRTZ_TRIGGER_GROUP:executor basic table, maintain the info about the executor;
@@ -630,7 +630,7 @@ So schedule and task can be decoupled from each other, by the way it can improve
630 630
 
631 631
 #### 5.3.3 Architecture diagram
632 632
 
633
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_Qohm.png "在这里输入图片标题")
633
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_Qohm.png "在这里输入图片标题")
634 634
 
635 635
 ### 5.4 Schedule module analysis
636 636
 #### 5.4.1 Disadvantage of quartz
@@ -713,7 +713,7 @@ If executor project was deployed as cluster schedule center will known all onlin
713 713
 When "路由策略" select "故障转移(FAILOVER)",it will send heart beat check request in order while schedule center start schedule request.  The first alive checked executor node will be selected and send schedule request to it.
714 714
 
715 715
 “调度备注” can be viewed on the monitor page when schedule success. As shown below: 
716
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_jrdI.png "在这里输入图片标题")
716
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_jrdI.png "在这里输入图片标题")
717 717
 
718 718
 “调度备注” will display local schedule route path、executor’s "注册方式"、"地址列表" and task’s "路由策略"。Under "故障转移(FAILOVER)" policy, schedule center take first address to do heartbeat detection, heat beat fail will automatically skip, the second address heart beat fail…… until the third address “127.0.0.1:9999” heart beat success, it was selected as target executor, then send schedule request to target executor, now the schedule process is end wait for the executor’s callback execution result.
719 719
 
@@ -743,9 +743,9 @@ When parent task end execute and success, it will match child task dependency ac
743 743
 
744 744
 On the task log page ,you can see matched child task and triggered child task’s log info when you “查看”button of “执行备注”,otherwise the child task didin’t execute, as shown beleow:
745 745
 
746
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_Wb2o.png "在这里输入图片标题")
746
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_Wb2o.png "在这里输入图片标题")
747 747
 
748
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_jOAU.png "在这里输入图片标题")
748
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_jOAU.png "在这里输入图片标题")
749 749
 
750 750
 ### 5.5 Task "run mode" analysis
751 751
 #### 5.5.1 "Bean模式" task

+ 30 - 30
doc/XXL-JOB官方文档.md 查看文件

@@ -456,7 +456,7 @@ XXL-JOB是一个轻量级分布式任务调度平台,其核心设计目标是
456 456
 
457 457
 默认登录账号 "admin/123456", 登录后运行界面如下图所示。
458 458
 
459
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_6yC0.png "在这里输入图片标题")
459
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_6yC0.png "在这里输入图片标题")
460 460
 
461 461
 至此“调度中心”项目已经部署成功。
462 462
 
@@ -582,18 +582,18 @@ public XxlJobSpringExecutor xxlJobExecutor() {
582 582
 #### 步骤一:新建任务:
583 583
 登录调度中心,点击下图所示“新建任务”按钮,新建示例任务。然后,参考下面截图中任务的参数配置,点击保存。
584 584
 
585
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_o8HQ.png "在这里输入图片标题")
585
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_o8HQ.png "在这里输入图片标题")
586 586
 
587
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_ZAsz.png "在这里输入图片标题")
587
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_ZAsz.png "在这里输入图片标题")
588 588
 
589 589
 
590 590
 #### 步骤二:“GLUE模式(Java)” 任务开发:
591 591
 请点击任务右侧 “GLUE” 按钮,进入 “GLUE编辑器开发界面” ,见下图。“GLUE模式(Java)” 运行模式的任务默认已经初始化了示例任务代码,即打印Hello World。
592 592
 ( “GLUE模式(Java)” 运行模式的任务实际上是一段继承自IJobHandler的Java类代码,它在执行器项目中运行,可使用@Resource/@Autowire注入执行器里中的其他服务,详细介绍请查看第三章节)
593 593
 
594
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_Fgql.png "在这里输入图片标题")
594
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_Fgql.png "在这里输入图片标题")
595 595
 
596
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_dNUJ.png "在这里输入图片标题")
596
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_dNUJ.png "在这里输入图片标题")
597 597
 
598 598
 #### 步骤三:触发执行:
599 599
 请点击任务右侧 “执行” 按钮,可手动触发一次任务执行(通常情况下,通过配置Cron表达式进行任务调度出发)。
@@ -602,11 +602,11 @@ public XxlJobSpringExecutor xxlJobExecutor() {
602 602
 请点击任务右侧 “日志” 按钮,可前往任务日志界面查看任务日志。
603 603
 在任务日志界面中,可查看该任务的历史调度记录以及每一次调度的任务调度信息、执行参数和执行信息。运行中的任务点击右侧的“执行日志”按钮,可进入日志控制台查看实时执行日志。
604 604
 
605
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_inc8.png "在这里输入图片标题")
605
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_inc8.png "在这里输入图片标题")
606 606
 
607 607
 在日志控制台,可以Rolling方式实时查看任务在执行器一侧运行输出的日志信息,实时监控任务进度;
608 608
 
609
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_eYrv.png "在这里输入图片标题")
609
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_eYrv.png "在这里输入图片标题")
610 610
 
611 611
 ## 三、任务详解
612 612
 
@@ -658,12 +658,12 @@ public XxlJobSpringExecutor xxlJobExecutor() {
658 658
      - 4、执行日志:需要通过 "XxlJobLogger.log" 打印执行日志;
659 659
     (可参考Sample示例执行器中的DemoJobHandler,见下图)
660 660
 
661
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_oLlM.png "在这里输入图片标题")
661
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_oLlM.png "在这里输入图片标题")
662 662
 
663 663
 #### 步骤二:调度中心,新建调度任务
664 664
 参考上文“配置属性详细说明”对新建的任务进行参数配置,运行模式选中 "BEAN模式",JobHandler属性填写任务注解“@JobHandler”中定义的值;
665 665
 
666
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_ZAsz.png "在这里输入图片标题")
666
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_ZAsz.png "在这里输入图片标题")
667 667
 
668 668
 #### 原生内置Bean模式任务
669 669
 为方便用户参考与快速实用,示例执行器内原生提供多个Bean模式任务Handler,可以直接配置实用,如下:
@@ -680,14 +680,14 @@ public XxlJobSpringExecutor xxlJobExecutor() {
680 680
 #### 步骤一:调度中心,新建调度任务:
681 681
 参考上文“配置属性详细说明”对新建的任务进行参数配置,运行模式选中 "GLUE模式(Java)";
682 682
 
683
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_tJOq.png "在这里输入图片标题")
683
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_tJOq.png "在这里输入图片标题")
684 684
 
685 685
 #### 步骤二:开发任务代码:
686 686
 选中指定任务,点击该任务右侧“GLUE”按钮,将会前往GLUE任务的Web IDE界面,在该界面支持对任务代码进行开发(也可以在IDE中开发完成后,复制粘贴到编辑中)。
687 687
 
688 688
 版本回溯功能(支持30个版本的版本回溯):在GLUE任务的Web IDE界面,选择右上角下拉框“版本回溯”,会列出该GLUE的更新历史,选择相应版本即可显示该版本代码,保存后GLUE代码即回退到对应的历史版本;
689 689
 
690
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_dNUJ.png "在这里输入图片标题")
690
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_dNUJ.png "在这里输入图片标题")
691 691
 
692 692
 ### 3.3 GLUE模式(Shell)
693 693
 
@@ -699,7 +699,7 @@ public XxlJobSpringExecutor xxlJobExecutor() {
699 699
 
700 700
 该模式的任务实际上是一段 "shell" 脚本;
701 701
 
702
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_iUw0.png "在这里输入图片标题")
702
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_iUw0.png "在这里输入图片标题")
703 703
 
704 704
 ### 3.4 GLUE模式(Python)
705 705
 
@@ -711,7 +711,7 @@ public XxlJobSpringExecutor xxlJobExecutor() {
711 711
 
712 712
 该模式的任务实际上是一段 "python" 脚本;
713 713
 
714
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_BPLG.png "在这里输入图片标题")
714
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_BPLG.png "在这里输入图片标题")
715 715
 
716 716
 ### 3.5 GLUE模式(NodeJS)
717 717
 
@@ -735,14 +735,14 @@ public XxlJobSpringExecutor xxlJobExecutor() {
735 735
 
736 736
 ### 4.1 配置执行器
737 737
 点击进入"执行器管理"界面, 如下图:
738
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_Hr2T.png "在这里输入图片标题")
738
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_Hr2T.png "在这里输入图片标题")
739 739
 
740 740
     1、"调度中心OnLine:"右侧显示在线的"调度中心"列表, 任务执行结束后, 将会以failover的模式进行回调调度中心通知执行结果, 避免回调的单点风险;
741 741
     2、"执行器列表" 中显示在线的执行器列表, 可通过"OnLine 机器"查看对应执行器的集群机器。
742 742
 
743 743
 点击按钮 "+新增执行器" 弹框如下图, 可新增执行器配置:
744 744
 
745
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_V3vF.png "在这里输入图片标题")
745
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_V3vF.png "在这里输入图片标题")
746 746
 
747 747
 ### 执行器属性说明
748 748
 
@@ -770,19 +770,19 @@ public XxlJobSpringExecutor xxlJobExecutor() {
770 770
 可对任务进行“启动”和“停止”操作。
771 771
 需要注意的是,此处的启动/停止仅针对任务的后续调度触发行为,不会影响到已经触发的调度任务,如需终止已经触发的调度任务,可查看“4.9 终止运行中的任务”
772 772
 
773
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_ZAhX.png "在这里输入图片标题")
773
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_ZAhX.png "在这里输入图片标题")
774 774
 
775 775
 ### 4.6 手动触发一次调度
776 776
 点击“执行”按钮,可手动触发一次任务调度,不影响原有调度规则。
777 777
 
778
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_ZAhX.png "在这里输入图片标题")
778
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_ZAhX.png "在这里输入图片标题")
779 779
 
780 780
 ### 4.7 查看调度日志
781 781
 点击“日志”按钮,可以查看任务历史调度日志。在历史调入日志界面可查看每次任务调度的调度结果、执行结果等,点击“执行日志”按钮可查看执行器完整日志。
782 782
 
783
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_ZAhX.png "在这里输入图片标题")
783
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_ZAhX.png "在这里输入图片标题")
784 784
 
785
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_UDSo.png "在这里输入图片标题")
785
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_UDSo.png "在这里输入图片标题")
786 786
 
787 787
     调度时间:"调度中心"触发本次调度并向"执行器"发送任务执行信号的时间;
788 788
     调度结果:"调度中心"触发本次调度的结果,200表示成功,500或其他表示失败;
@@ -800,13 +800,13 @@ public XxlJobSpringExecutor xxlJobExecutor() {
800 800
 ### 4.8 查看执行日志
801 801
 点击执行日志右侧的 “执行日志” 按钮,可跳转至执行日志界面,可以查看业务代码中打印的完整日志,如下图;
802 802
 
803
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_tvGI.png "在这里输入图片标题")
803
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_tvGI.png "在这里输入图片标题")
804 804
 
805 805
 ### 4.9 终止运行中的任务
806 806
 仅针对执行中的任务。
807 807
 在任务日志界面,点击右侧的“终止任务”按钮,将会向本次任务对应的执行器发送任务终止请求,将会终止掉本次任务,同时会清空掉整个任务执行队列。
808 808
 
809
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_hIci.png "在这里输入图片标题")
809
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_hIci.png "在这里输入图片标题")
810 810
 
811 811
 任务终止时通过 "interrupt" 执行线程的方式实现, 将会触发 "InterruptedException" 异常。因此如果JobHandler内部catch到了该异常并消化掉的话, 任务终止功能将不可用。
812 812
 
@@ -829,14 +829,14 @@ try{
829 829
 
830 830
 ### 4.10 删除执行日志
831 831
 在任务日志界面,选中执行器和任务之后,点击右侧的"删除"按钮将会出现"日志清理"弹框,弹框中支持选择不同类型的日志清理策略,选中后点击"确定"按钮即可进行日志清理操作;
832
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_Ypik.png "在这里输入图片标题")
832
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_Ypik.png "在这里输入图片标题")
833 833
 
834
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_EB65.png "在这里输入图片标题")
834
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_EB65.png "在这里输入图片标题")
835 835
 
836 836
 ### 4.11 删除任务
837 837
 点击删除按钮,可以删除对应任务。
838 838
 
839
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_Z9Qr.png "在这里输入图片标题")
839
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_Z9Qr.png "在这里输入图片标题")
840 840
 
841 841
 ### 4.12 用户管理
842 842
 进入 "用户管理" 界面,可查看和管理用户信息;
@@ -845,9 +845,9 @@ try{
845 845
 - 管理员:拥有全量权限,支持在线管理用户信息,为用户分配权限,权限分配粒度为执行器;
846 846
 - 普通用户:仅拥有被分配权限的执行器,及相关任务的操作权限;
847 847
 
848
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_1001.png "在这里输入图片标题")
848
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_1001.png "在这里输入图片标题")
849 849
 
850
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_1002.png "在这里输入图片标题")
850
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_1002.png "在这里输入图片标题")
851 851
 
852 852
 
853 853
 ## 五、总体设计
@@ -888,7 +888,7 @@ XXL-JOB调度模块基于自研调度组件并支持集群部署,调度数据
888 888
 
889 889
 #### 5.3.3 架构图
890 890
 
891
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_Qohm.png "在这里输入图片标题")
891
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_Qohm.png "在这里输入图片标题")
892 892
 
893 893
 ### 5.4 调度模块剖析
894 894
 #### 5.4.1 quartz的不足
@@ -942,7 +942,7 @@ xxl-job-admin#com.xxl.job.admin.controller.JobApiController.callback
942 942
 当任务"路由策略"选择"故障转移(FAILOVER)"时,当调度中心每次发起调度请求时,会按照顺序对执行器发出心跳检测请求,第一个检测为存活状态的执行器将会被选定并发送调度请求。
943 943
 
944 944
 调度成功后,可在日志监控界面查看“调度备注”,如下;
945
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_jrdI.png "在这里输入图片标题")
945
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_jrdI.png "在这里输入图片标题")
946 946
 
947 947
 “调度备注”可以看出本地调度运行轨迹,执行器的"注册方式"、"地址列表"和任务的"路由策略"。"故障转移(FAILOVER)"路由策略下,调度中心首先对第一个地址进行心跳检测,心跳失败因此自动跳过,第二个依然心跳检测失败……
948 948
 直至心跳检测第三个地址“127.0.0.1:9999”成功,选定为“目标执行器”;然后对“目标执行器”发送调度请求,调度流程结束,等待执行器回调执行结果。
@@ -973,9 +973,9 @@ xxl-job-admin#com.xxl.job.admin.controller.JobApiController.callback
973 973
 
974 974
 在任务日志界面,点击任务的“执行备注”的“查看”按钮,可以看到匹配子任务以及触发子任务执行的日志信息,如无信息则表示未触发子任务执行,可参考下图。
975 975
 
976
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_Wb2o.png "在这里输入图片标题")
976
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_Wb2o.png "在这里输入图片标题")
977 977
 
978
-![输入图片说明](https://raw.githubusercontent.com/xuxueli/xxl-job/master/doc/images/img_jOAU.png "在这里输入图片标题")
978
+![输入图片说明](https://www.xuxueli.com/xxl-job/data/images/img_jOAU.png "在这里输入图片标题")
979 979
 
980 980
 #### 5.4.11  全异步化 & 轻量级
981 981