Uses of Class
cool.scx.common.util.$.Timeout
Packages that use $.Timeout
-
Uses of $.Timeout in cool.scx.common.util
Methods in cool.scx.common.util that return $.TimeoutModifier and TypeMethodDescriptionstatic $.Timeout$.setInterval(Runnable task, long delay) static $.Timeout$.setTimeout(Runnable task, long delay) 延时执行代码 , 这种简单的方式 相比 ScheduledExecutorService , 一般能实现更低的内存占用 todo 使用 ScheduledExecutorService 替换