Dubbo 的轮询算法
发布时间
阅读量:
阅读量
周期性任务
/** * A task which is executed after the delay specified with
* {@link Timer#newTimeout(TimerTask, long, TimeUnit)} (TimerTask, long, TimeUnit)}.
*/
public interface TimerTask {
/** * Executed after the delay specified with
* {@link Timer#newTimeout(TimerTask, long, TimeUnit)}.
* * @param timeout a handle which is associated with this task
*/
void run(Timeout timeout) throws Exception;
}
句柄
/** * Timeout 对象与
全部评论 (0)
还没有任何评论哟~
