skaic commented on issue #1464:
URL:
https://github.com/apache/shardingsphere-elasticjob/issues/1464#issuecomment-870339270
Right, `Thread.currentThread().isInterrupted()` looks stupid.
But Java deprecated `Thread.stop()`, `Thread.suspend()` methods, and use
'Thread.Interrupt() ' send the signal to the thread.
if necessary `Job` need to check the signal and stop itself.
We just providing a solution to stop `job-thread` When it is timeout.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]