12 |
|
import java.security.PrivilegedExceptionAction; |
13 |
|
|
14 |
|
/** |
15 |
< |
* An {@link Executor} that provides methods to manage termination, and |
15 |
> |
* An {@link Executor} that provides methods to manage termination and |
16 |
|
* methods that can produce a {@link Future} for tracking progress of |
17 |
< |
* one or more asynchronous tasks. <p> |
17 |
> |
* one or more asynchronous tasks. |
18 |
|
* |
19 |
+ |
* <p> |
20 |
|
* An <tt>ExecutorService</tt> can be shut down, which will cause it |
21 |
|
* to stop accepting new tasks. After being shut down, the executor |
22 |
|
* will eventually terminate, at which point no tasks are actively |