30 |
|
complete framework for executing Runnables. An ExecutorService |
31 |
|
manages queueing and scheduling of tasks, and allows controlled |
32 |
|
shutdown. The two primary implementations of ExecutorService are |
33 |
< |
{@link java.util.concurrent.ThreadPoolExecutor}, a highly tunable and |
33 |
> |
{@link java.util.concurrent.ThreadPoolExecutor}, a tunable and |
34 |
|
flexible thread pool and {@link |
35 |
|
java.util.concurrent.ScheduledExecutor}, which adds support for |
36 |
|
delayed and periodic task execution. These, and other Executors can |
37 |
< |
be used in conjunction with a {@link java.util.concurrent.FutureTask} |
38 |
< |
to asynchronously |
39 |
< |
start a potentially long-running computation and query the FutureTask |
40 |
< |
to determine if its execution has completed, or cancel it. |
37 |
> |
be used in conjunction with a {@link |
38 |
> |
java.util.concurrent.CancellableTask} or {@link |
39 |
> |
java.util.concurrent.FutureTask} to asynchronously start a potentially |
40 |
> |
long-running computation and query the FutureTask to determine if its |
41 |
> |
execution has completed, or cancel it. |
42 |
|
|
43 |
|
<p> The {@link java.util.concurrent.Executors} class provides factory |
44 |
|
methods for the most common kinds and configurations of Executors, as |
121 |
|
freeze the collection while iterating, so it may (or may not) reflect |
122 |
|
any updates since the iterator was created. |
123 |
|
|
123 |
– |
|
124 |
– |
|
125 |
– |
|
126 |
– |
<hr> |
127 |
– |
<address><A HREF="http://gee.cs.oswego.edu/dl">Doug Lea</A></address> |
128 |
– |
<!-- hhmts start --> Last modified: Wed Aug 6 07:18:31 EDT 2003 <!-- hhmts end --> |
124 |
|
</body> </html> |