ScheduledThreadPoolExecutor « java.util.concurrent « Java by API






1.new ScheduledThreadPoolExecutor(int corePoolSize)
2.ScheduledExecutorService: schedule(Runnable command, long delay, TimeUnit unit)
3.ScheduledThreadPoolExecutor: scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit)