25 |
|
* reclamation of its resources. |
26 |
|
* |
27 |
|
* <p>Method {@code submit} extends base method {@link |
28 |
< |
* Executor#execute} by creating and returning a {@link Future} that |
29 |
< |
* can be used to cancel execution and/or wait for completion. |
28 |
> |
* Executor#execute(Runnable)} by creating and returning a {@link Future} |
29 |
> |
* that can be used to cancel execution and/or wait for completion. |
30 |
|
* Methods {@code invokeAny} and {@code invokeAll} perform the most |
31 |
|
* commonly useful forms of bulk execution, executing a collection of |
32 |
|
* tasks and then waiting for at least one, or all, to |