接口的使用
org.dromara.dynamictp.common.timer.TimerTask
使用TimerTask的程序包
-
org.dromara.dynamictp.common.timer中TimerTask的使用
修饰符和类型方法说明HashedWheelTimer.newTimeout(TimerTask task, long delay, TimeUnit unit) Timer.newTimeout(TimerTask task, long delay, TimeUnit unit) Schedules the specifiedTimerTaskfor one-time execution after the specified delay.