public
interface
RunnableFuture
implements
Runnable,
Future<V>
java.util.concurrent.RunnableFuture<V> |
Known Indirect Subclasses |
A Future
that is Runnable
. Successful execution of
the run
method causes completion of the Future
and allows access to its results.
See also:
Public methods | |
---|---|
abstract
void
|
run()
Sets this Future to the result of its computation unless it has been cancelled. |
Inherited methods | |
---|---|
From
interface
java.lang.Runnable
| |
From
interface
java.util.concurrent.Future
|
void run ()
Sets this Future to the result of its computation unless it has been cancelled.