API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util.concurrent. ScheduledExecutorService View Source
Author(s)
Doug Lea
Since
1.5
Version
Serial
Hierarchy
 Executor
      ExecutorService
          ScheduledExecutorService
Subinterfaces
Description
public interface ScheduledExecutorService
  An ExecutorService that can schedule commands to run after a given delay, or to execute periodically.
See also:   
Methods
Hide/Show inherited methods
public ScheduledFuture< V> schedule (Callable< V> callable, long delay, TimeUnit unit)
  Creates and executes a ScheduledFuture that becomes enabled after the given delay.
public ScheduledFuture<Object> schedule (Runnable command, long delay, TimeUnit unit)
  Creates and executes a one-shot action that becomes enabled after the given delay.
public ScheduledFuture<Object> scheduleAtFixedRate (Runnable command, long initialDelay, long period, TimeUnit unit)
  Creates and executes a periodic action that becomes enabled first after the given initial delay, and subsequently with the given period; that is executions will commence after initialDelay then initialDelay+period, then initialDelay + 2 * period, and so on.
public ScheduledFuture<Object> scheduleWithFixedDelay (Runnable command, long initialDelay, long delay, TimeUnit unit)
  Creates and executes 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.
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar