Przeglądaj źródła

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

xuxueli 5 lat temu
rodzic
commit
802e3d3cce

+ 1 - 1
doc/XXL-JOB-English-Documentation.md

@@ -565,7 +565,7 @@ It is implemented by interrupt execute thread, it will trigger InterruptedExcept
 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:
 ```
 try{
-    // TODO
+    // do something
 } catch (Exception e) {
     if (e instanceof InterruptedException) {
         throw e;

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

@@ -730,7 +730,7 @@ public XxlJobSpringExecutor xxlJobExecutor() {
 因此, 如果遇到上述任务终止不可用的情况, 需要在JobHandler中应该针对 "InterruptedException" 异常进行特殊处理 (向上抛出) , 正确逻辑如下:
 ```
 try{
-    // TODO
+    // do something
 } catch (Exception e) {
     if (e instanceof InterruptedException) {
         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 {
 			}
 		}
 
-		// TODO, custom alarm strategy, such as sms
+		// do something, custom alarm strategy, such as sms
 
 
 		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 {
 	 * init handler, invoked when JobThread init
 	 */
 	public void init() {
-		// TODO
+		// do something
 	}
 
 
@@ -40,7 +40,7 @@ public abstract class IJobHandler {
 	 * destroy handler, invoked when JobThread destroy
 	 */
 	public void destroy() {
-		// TODO
+		// do something
 	}