|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
V
- The result type returned by this Future's get methodpublic interface RunnableFuture<V>
A Future
that is Runnable
. Successful execution of
the run method causes completion of the Future
and allows access to its results.
FutureTask
,
Executor
Method Summary | |
---|---|
void |
run()
Sets this Future to the result of its computation unless it has been cancelled. |
Methods inherited from interface java.util.concurrent.Future |
---|
cancel, get, get, isCancelled, isDone |
Method Detail |
---|
void run()
run
in interface Runnable
Thread.run()
|
Java™ Platform Standard Ed. 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.