Uses of Interface
java.util.concurrent.ScheduledFuture
Packages that use ScheduledFuture
-
Uses of ScheduledFuture in java.util.concurrent
Subinterfaces of ScheduledFuture in java.util.concurrentMethods in java.util.concurrent that return ScheduledFutureModifier and TypeMethodDescriptionSubmits a one-shot task that becomes enabled after the given delay.<V> ScheduledFuture
<V> Submits a value-returning one-shot task that becomes enabled after the given delay.<V> ScheduledFuture
<V> ScheduledExecutorService.scheduleAtFixedRate
(Runnable command, long initialDelay, long period, TimeUnit unit) Submits a periodic action that becomes enabled first after the given initial delay, and subsequently with the given period; that is, executions will commence afterinitialDelay
, theninitialDelay + period
, theninitialDelay + 2 * period
, and so on.ScheduledThreadPoolExecutor.scheduleAtFixedRate
(Runnable command, long initialDelay, long period, TimeUnit unit) Submits a periodic action that becomes enabled first after the given initial delay, and subsequently with the given period; that is, executions will commence afterinitialDelay
, theninitialDelay + period
, theninitialDelay + 2 * period
, and so on.ScheduledExecutorService.scheduleWithFixedDelay
(Runnable command, long initialDelay, long delay, TimeUnit unit) Submits a periodic action that becomes enabled first after the given initial delay, and subsequently with the given delay between the termination of one execution and the commencement of the next.ScheduledThreadPoolExecutor.scheduleWithFixedDelay
(Runnable command, long initialDelay, long delay, TimeUnit unit) Submits a periodic action that becomes enabled first after the given initial delay, and subsequently with the given delay between the termination of one execution and the commencement of the next.