Uses of Class
com.dianxin.tori.base.scheduler.Task
Packages that use Task
-
Uses of Task in com.dianxin.tori.base.scheduler
Methods in com.dianxin.tori.base.scheduler that return TaskModifier and TypeMethodDescriptionExecutes a task immediately on the primary CPU-bound thread pool.Scheduler.runTaskAsync(Runnable runnable) Executes a task immediately on the asynchronous I/O-bound thread pool.SchedulerImpl.runTaskAsync(Runnable runnable) Scheduler.runTaskLater(Runnable runnable, long delay, TimeUnit unit) Schedules a task to execute after a specified delay on the CPU thread pool.SchedulerImpl.runTaskLater(Runnable runnable, long delay, TimeUnit unit) Scheduler.runTaskLaterAsync(Runnable runnable, long delay, TimeUnit unit) Schedules a task to execute asynchronously after a specified delay on the I/O thread pool.SchedulerImpl.runTaskLaterAsync(Runnable runnable, long delay, TimeUnit unit) Scheduler.runTaskTimer(Runnable runnable, long delay, long period, TimeUnit unit) Schedules a repeated task to execute on the CPU thread pool.SchedulerImpl.runTaskTimer(Runnable runnable, long delay, long period, TimeUnit unit) Scheduler.runTaskTimerAsync(Runnable runnable, long delay, long period, TimeUnit unit) Schedules a repeated task to execute asynchronously on the I/O thread pool.SchedulerImpl.runTaskTimerAsync(Runnable runnable, long delay, long period, TimeUnit unit)