linghengqian commented on code in PR #2475:
URL: 
https://github.com/apache/shardingsphere-elasticjob/pull/2475#discussion_r2331834476


##########
kernel/src/main/java/org/apache/shardingsphere/elasticjob/kernel/internal/schedule/LiteJob.java:
##########
@@ -19,20 +19,37 @@
 
 import lombok.Setter;
 import org.apache.shardingsphere.elasticjob.kernel.executor.ElasticJobExecutor;
-import org.quartz.Job;
+import org.quartz.InterruptableJob;
 import org.quartz.JobExecutionContext;
+import org.quartz.UnableToInterruptJobException;
+
+import java.util.Objects;
 
 /**
  * Lite job.
  */
 @Setter
-public final class LiteJob implements Job {
+public final class LiteJob implements InterruptableJob {
     
     private ElasticJobExecutor jobExecutor;
+
+    private volatile Thread currentThread;
     
     @Override
     public void execute(final JobExecutionContext context) {
-        jobExecutor.execute();
+        currentThread = Thread.currentThread();
+

Review Comment:
   This blank line should be removed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to