Example usage for Java java.util.concurrent RunnableFuture fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | cancel(boolean mayInterruptIfRunning) Attempts to cancel execution of this task. |
V | get() Waits if necessary for the computation to complete, and then retrieves its result. |
boolean | isDone() Returns true if this task completed. |
void | run() Sets this Future to the result of its computation unless it has been cancelled. |
String | toString() Returns a string representation of the object. |