25 |
|
asynchronous task execution framework. An ExecutorService manages |
26 |
|
queuing and scheduling of tasks, and allows controlled shutdown. The |
27 |
|
{@link java.util.concurrent.ScheduledExecutorService} subinterface |
28 |
< |
adds support for delayed and periodic task execution. |
28 |
> |
and associated interfaces add support for delayed and periodic task execution. |
29 |
|
ExecutorServices provide methods arranging asynchronous execution of |
30 |
|
any function expressed as {@link java.util.concurrent.Callable}, the |
31 |
|
result-bearing analog of {@link java.lang.Runnable}. A {@link |
32 |
|
java.util.concurrent.Future} returns the results of a function, allows |
33 |
|
determination of whether execution has completed, and provides a means to |
34 |
< |
cancel execution. |
34 |
> |
cancel execution. A {@link java.util.concurrent.RunnableFuture} is |
35 |
> |
a Future that possesses a <tt>run</tt> method that upon execution, |
36 |
> |
sets its results. |
37 |
|
|
38 |
|
<p> |
39 |
|
|