java.util.concurrent
Interface ScheduledFuture<V>

Type Parameters:
V - The result type returned by this Future
All Superinterfaces:
Comparable sample code for java.lang.Comparable definition code for java.lang.Comparable <Delayed sample code for java.util.concurrent.Delayed definition code for java.util.concurrent.Delayed >, Delayed sample code for java.util.concurrent.Delayed definition code for java.util.concurrent.Delayed , Future sample code for java.util.concurrent.Future definition code for java.util.concurrent.Future <V>

public interface ScheduledFuture<V>
extends Delayed sample code for java.util.concurrent.Delayed definition code for java.util.concurrent.Delayed , Future sample code for java.util.concurrent.Future definition code for java.util.concurrent.Future <V>

A delayed result-bearing action that can be cancelled. Usually a scheduled future is the result of scheduling a task with a ScheduledExecutorService sample code for java.util.concurrent.ScheduledExecutorService definition code for java.util.concurrent.ScheduledExecutorService .

Since:
1.5

Method Summary
 
Methods inherited from interface java.util.concurrent.Delayed sample code for java.util.concurrent.Delayed definition code for java.util.concurrent.Delayed
getDelay sample code for java.util.concurrent.Delayed.getDelay(java.util.concurrent.TimeUnit) definition code for java.util.concurrent.Delayed.getDelay(java.util.concurrent.TimeUnit)
 
Methods inherited from interface java.lang.Comparable sample code for java.lang.Comparable definition code for java.lang.Comparable
compareTo sample code for java.lang.Comparable.compareTo(T) definition code for java.lang.Comparable.compareTo(T)
 
Methods inherited from interface java.util.concurrent.Future sample code for java.util.concurrent.Future definition code for java.util.concurrent.Future
cancel sample code for java.util.concurrent.Future.cancel(boolean) definition code for java.util.concurrent.Future.cancel(boolean) , get sample code for java.util.concurrent.Future.get() definition code for java.util.concurrent.Future.get() , get sample code for java.util.concurrent.Future.get(long, java.util.concurrent.TimeUnit) definition code for java.util.concurrent.Future.get(long, java.util.concurrent.TimeUnit) , isCancelled sample code for java.util.concurrent.Future.isCancelled() definition code for java.util.concurrent.Future.isCancelled() , isDone sample code for java.util.concurrent.Future.isDone() definition code for java.util.concurrent.Future.isDone()