Top Description Methods
java.util.concurrent

public Interface RunnableFuture<V>

extends Runnable, Future<V>
Known Direct Subinterfaces
java.util.concurrent.RunnableScheduledFuture
Known Direct Implementers
java.util.concurrent.ForkJoinTask.AdaptedRunnable, java.util.concurrent.ForkJoinTask.AdaptedRunnableAction, java.util.concurrent.ForkJoinTask.AdaptedCallable, java.util.concurrent.ForkJoinTask.InterruptibleTask, java.util.concurrent.FutureTask
Type Parameters
<V>
The result type returned by this Future's get method

A Future 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 void
run()

Redeclares java.lang.Runnable.run.

Sets this Future to the result of its computation unless it has been cancelled.

Inherited from java.util.concurrent.Future:
cancelexceptionNowgetgetisCancelledisDoneresultNowstate

Method Detail

runback to summary
public void run()

Redeclares java.lang.Runnable.run.

Sets this Future to the result of its computation unless it has been cancelled.