Example usage for Java org.springframework.util.concurrent ListenableFutureTask fields, constructors, methods, implement or subclass
The text is from its open source code.
ListenableFutureTask(Callable Create a new ListenableFutureTask that will, upon running, execute the given Callable . |
void | addCallback(ListenableFutureCallback super T> callback) |
V | get() Waits if necessary for the computation to complete, and then retrieves its result. |
boolean | isCancelled() Returns true if this task was cancelled before it completed normally. |
boolean | isDone() Returns true if this task completed. |