完善 JobHandlerInvoker 的执行,记录 Job 执行日志

This commit is contained in:
YunaiV
2021-02-15 01:25:59 +08:00
parent f60855faa0
commit 5fc03bd8aa
4 changed files with 123 additions and 29 deletions

View File

@ -18,4 +18,8 @@ public class DateUtils {
return System.currentTimeMillis() > time.getTime();
}
public static Long diff(Date endTime, Date startTime) {
return endTime.getTime() - startTime.getTime();
}
}