40 |
|
to determine if its execution has completed, or cancel it. |
41 |
|
|
42 |
|
<p> The {@link java.util.concurrent.Executors} class provides factory |
43 |
< |
methods for the most common kinds and styles of Executors, as well as |
44 |
< |
a few utilities methods for using them. |
43 |
> |
methods for the most common kinds and configurations of Executors, as |
44 |
> |
well as a few utility methods for using them. |
45 |
|
|
46 |
|
<h2>Queues</h2> |
47 |
|
|
48 |
|
The java.util.concurrent {@link |
49 |
|
java.util.concurrent.ConcurrentLinkedQueue} class supplies an |
50 |
< |
efficient sclable thread-safe non-blocking FIFO queue. |
50 |
> |
efficient scalable thread-safe non-blocking FIFO queue. |
51 |
|
|
52 |
|
<p> Five implementations in java.util.concurrent support the extended |
53 |
|
{@link java.util.concurrent.BlockingQueue} interface, that defines |
56 |
|
java.util.concurrent.ArrayBlockingQueue}, {@link |
57 |
|
java.util.concurrent.SynchronousQueue}, {@link |
58 |
|
java.util.concurrent.PriorityBlockingQueue}, and {@link |
59 |
< |
java.util.concurrent.DelayQueue}. |
59 |
> |
java.util.concurrent.DelayQueue}. The different classes cover the most |
60 |
> |
common usage contexts for producer-consumer, messaging, parallel |
61 |
> |
tasking, and related concurrent designs. |
62 |
|
|
63 |
|
|
64 |
|
<h2>Timing</h2> |
65 |
|
|
66 |
|
The {@link java.util.concurrent.TimeUnit} class provides multiple |
67 |
< |
granularities (including nanoseconds) for both accessing time and |
68 |
< |
performing time-out based operations. |
67 |
> |
granularities (including nanoseconds) for specifying and controlling |
68 |
> |
time-out based operations. Nearly all other classes in the package |
69 |
> |
contain operations based on time-outs in addition to indefinite waits. |
70 |
|
|
71 |
|
<h2>Synchronizers</h2> |
72 |
|
|
116 |
|
|
117 |
|
<hr> |
118 |
|
<address><A HREF="http://gee.cs.oswego.edu/dl">Doug Lea</A></address> |
119 |
< |
<!-- hhmts start --> Last modified: Mon Jul 7 20:32:42 EDT 2003 <!-- hhmts end --> |
119 |
> |
<!-- hhmts start --> Last modified: Tue Aug 5 20:39:44 EDT 2003 <!-- hhmts end --> |
120 |
|
</body> </html> |