3021 |
|
* Possibly initiates an orderly shutdown in which previously |
3022 |
|
* submitted tasks are executed, but no new tasks will be |
3023 |
|
* accepted. Invocation has no effect on execution state if this |
3024 |
< |
* is the {@link #commonPool}, and no additional effect if |
3024 |
> |
* is the {@link #commonPool()}, and no additional effect if |
3025 |
|
* already shut down. Tasks that are in the process of being |
3026 |
|
* submitted concurrently during the course of this method may or |
3027 |
|
* may not be rejected. |
3039 |
|
/** |
3040 |
|
* Possibly attempts to cancel and/or stop all tasks, and reject |
3041 |
|
* all subsequently submitted tasks. Invocation has no effect on |
3042 |
< |
* execution state if this is the {@link #commonPool}, and no |
3042 |
> |
* execution state if this is the {@link #commonPool()}, and no |
3043 |
|
* additional effect if already shut down. Otherwise, tasks that |
3044 |
|
* are in the process of being submitted or executed concurrently |
3045 |
|
* during the course of this method may or may not be |