接口 TimerTask
-
- 所有已知实现类:
AbstractRetryTask
,AbstractTimerTask
,CloseTimerTask
,FailedRegisteredTask
,FailedSubscribedTask
,FailedUnregisteredTask
,FailedUnsubscribedTask
,HeartbeatTimerTask
,ReconnectTimerTask
,ReExportTask
public interface TimerTask
A task which is executed after the delay specified withTimer.newTimeout(TimerTask, long, TimeUnit)
(TimerTask, long, TimeUnit)}.
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 void
run(Timeout timeout)
Executed after the delay specified withTimer.newTimeout(TimerTask, long, TimeUnit)
.
-
-
-
方法详细资料
-
run
void run(Timeout timeout) throws Exception
Executed after the delay specified withTimer.newTimeout(TimerTask, long, TimeUnit)
.- 参数:
timeout
- a handle which is associated with this task- 抛出:
Exception
-
-