Top Description Methods
java.util.concurrent

public Interface RunnableScheduledFuture<V>

extends RunnableFuture<V>, ScheduledFuture<V>
Known Direct Implementers
java.util.concurrent.ScheduledThreadPoolExecutor.ScheduledFutureTask
Type Parameters
<V>
The result type returned by this Future's get method

A ScheduledFuture that is Runnable. Successful execution of the run method causes completion of the Future and allows access to its results.
Author
Doug Lea
Since
1.6
See Also
FutureTask, Executor

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if this task is periodic
isPeriodic
()

Returns true if this task is periodic.

Inherited from java.util.concurrent.RunnableFuture:
run

Method Detail

isPeriodicback to summary
public boolean isPeriodic()

Returns true if this task is periodic. A periodic task may re-run according to some schedule. A non-periodic task can be run only once.

Returns:boolean

true if this task is periodic