Advertisement

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)

还没有任何评论哟~