-
- Type Parameters:
V- The result type returned by this Future'sgetmethod
- All Superinterfaces:
Comparable<Delayed>,Delayed,Future<V>,Runnable,RunnableFuture<V>,ScheduledFuture<V>
public interface RunnableScheduledFuture<V> extends RunnableFuture<V>, ScheduledFuture<V>
AScheduledFuturethat isRunnable. Successful execution of therunmethod causes completion of theFutureand allows access to its results.- Since:
- 1.6
- See Also:
FutureTask,Executor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisPeriodic()Returnstrueif this task is periodic.-
Methods declared in interface java.lang.Comparable
compareTo
-
Methods declared in interface java.util.concurrent.RunnableFuture
run
-
-