|
|
|
@ -102,7 +102,7 @@ public class JobThread extends Thread{ |
|
|
|
|
TriggerCallbackThread.pushCallBack(new HandleCallbackParam(triggerParam.getLogId(), triggerParam.getLogAddress(), executeResult)); |
|
|
|
|
} else { |
|
|
|
|
// is killed
|
|
|
|
|
ReturnT stopResult = new ReturnT<String>(ReturnT.FAIL_CODE, stopReason + " [业务运行中,被强制终止]"); |
|
|
|
|
ReturnT<String> stopResult = new ReturnT<String>(ReturnT.FAIL_CODE, stopReason + " [业务运行中,被强制终止]"); |
|
|
|
|
TriggerCallbackThread.pushCallBack(new HandleCallbackParam(triggerParam.getLogId(), triggerParam.getLogAddress(), stopResult)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -116,7 +116,7 @@ public class JobThread extends Thread{ |
|
|
|
|
TriggerParam triggerParam = triggerQueue.poll(); |
|
|
|
|
if (triggerParam!=null) { |
|
|
|
|
// is killed
|
|
|
|
|
ReturnT stopResult = new ReturnT<String>(ReturnT.FAIL_CODE, stopReason + " [任务尚未执行,在调度队列中被终止]"); |
|
|
|
|
ReturnT<String> stopResult = new ReturnT<String>(ReturnT.FAIL_CODE, stopReason + " [任务尚未执行,在调度队列中被终止]"); |
|
|
|
|
TriggerCallbackThread.pushCallBack(new HandleCallbackParam(triggerParam.getLogId(), triggerParam.getLogAddress(), stopResult)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|