接口的使用
org.apache.dubbo.common.timer.Timeout
-
使用Timeout的程序包 程序包 说明 org.apache.dubbo.common.timer -
-
org.apache.dubbo.common.timer中Timeout的使用
返回Timeout的org.apache.dubbo.common.timer中的方法 修饰符和类型 方法 说明 TimeoutHashedWheelTimer. newTimeout(TimerTask task, long delay, TimeUnit unit)TimeoutTimer. newTimeout(TimerTask task, long delay, TimeUnit unit)Schedules the specifiedTimerTaskfor one-time execution after the specified delay.返回变量类型为Timeout的类型的org.apache.dubbo.common.timer中的方法 修饰符和类型 方法 说明 Set<Timeout>HashedWheelTimer. stop()Set<Timeout>Timer. stop()Releases all resources acquired by thisTimerand cancels all tasks which were scheduled but not executed yet.参数类型为Timeout的org.apache.dubbo.common.timer中的方法 修饰符和类型 方法 说明 voidTimerTask. run(Timeout timeout)Executed after the delay specified withTimer.newTimeout(TimerTask, long, TimeUnit).
-