浏览代码

日志权限控制:仅管理员支持查询全部;普通用户仅支持查询有权限的 jobGroup

xuxueli 6 年前
父节点
当前提交
ca2f4cdfdf

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

@@ -565,7 +565,7 @@ It is implemented by interrupt execute thread, it will trigger InterruptedExcept
565 565
 So if you want stop the running task ,the JobHandler need to handle InterruptedException separately by throw this exception.the right logic is as shown below:
566 566
 ```
567 567
 try{
568
-    // TODO
568
+    // do something
569 569
 } catch (Exception e) {
570 570
     if (e instanceof InterruptedException) {
571 571
         throw e;

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

@@ -730,7 +730,7 @@ public XxlJobSpringExecutor xxlJobExecutor() {
730 730
 因此, 如果遇到上述任务终止不可用的情况, 需要在JobHandler中应该针对 "InterruptedException" 异常进行特殊处理 (向上抛出) , 正确逻辑如下:
731 731
 ```
732 732
 try{
733
-    // TODO
733
+    // do something
734 734
 } catch (Exception e) {
735 735
     if (e instanceof InterruptedException) {
736 736
         throw e;

+ 1 - 1
xxl-job-admin/src/main/java/com/xxl/job/admin/core/thread/JobFailMonitorHelper.java 查看文件

@@ -192,7 +192,7 @@ public class JobFailMonitorHelper {
192 192
 			}
193 193
 		}
194 194
 
195
-		// TODO, custom alarm strategy, such as sms
195
+		// do something, custom alarm strategy, such as sms
196 196
 
197 197
 
198 198
 		return alarmResult;

+ 2 - 2
xxl-job-core/src/main/java/com/xxl/job/core/handler/IJobHandler.java 查看文件

@@ -32,7 +32,7 @@ public abstract class IJobHandler {
32 32
 	 * init handler, invoked when JobThread init
33 33
 	 */
34 34
 	public void init() {
35
-		// TODO
35
+		// do something
36 36
 	}
37 37
 
38 38
 
@@ -40,7 +40,7 @@ public abstract class IJobHandler {
40 40
 	 * destroy handler, invoked when JobThread destroy
41 41
 	 */
42 42
 	public void destroy() {
43
-		// TODO
43
+		// do something
44 44
 	}
45 45
 
46 46