Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Eladmin
Commits
a1a00154
Commit
a1a00154
authored
Jun 08, 2023
by
Zheng Jie
Browse files
代码优化
parent
21b30b1b
Changes
1
Hide whitespace changes
Inline
Side-by-side
eladmin-system/src/main/java/me/zhengjie/modules/quartz/utils/ExecutionJob.java
View file @
a1a00154
...
@@ -32,6 +32,7 @@ import me.zhengjie.utils.ThrowableUtil;
...
@@ -32,6 +32,7 @@ import me.zhengjie.utils.ThrowableUtil;
import
org.quartz.JobExecutionContext
;
import
org.quartz.JobExecutionContext
;
import
org.slf4j.Logger
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.scheduling.annotation.Async
;
import
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
;
import
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
;
import
org.springframework.scheduling.quartz.QuartzJobBean
;
import
org.springframework.scheduling.quartz.QuartzJobBean
;
import
java.util.*
;
import
java.util.*
;
...
@@ -42,6 +43,7 @@ import java.util.concurrent.*;
...
@@ -42,6 +43,7 @@ import java.util.concurrent.*;
* @author /
* @author /
* @date 2019-01-07
* @date 2019-01-07
*/
*/
@Async
public
class
ExecutionJob
extends
QuartzJobBean
{
public
class
ExecutionJob
extends
QuartzJobBean
{
private
final
Logger
logger
=
LoggerFactory
.
getLogger
(
this
.
getClass
());
private
final
Logger
logger
=
LoggerFactory
.
getLogger
(
this
.
getClass
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment