mirror of
https://gitee.com/jd-platform-opensource/asyncTool.git
synced 2026-03-22 04:27:15 +08:00
超时时间轮
This commit is contained in:
@@ -298,7 +298,7 @@ public class WorkerWrapper<T, V> {
|
||||
private void fire() {
|
||||
//如果对任务有单独超时设置
|
||||
if (delayMs != null) {
|
||||
com.jd.platform.async.executor.wheel.TimerTask timerTask = new TimerTask(delayMs, new TimeOutCheckMession(this));
|
||||
TimerTask timerTask = new TimerTask(delayMs, new TimeOutCheckMession(this));
|
||||
Async.getTimer().addTask(timerTask);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user