14 |
|
<A HREF="http://altair.cs.oswego.edu/mailman/listinfo/concurrency-interest"> http://altair.cs.oswego.edu/mailman/listinfo/concurrency-interest</A> . |
15 |
|
|
16 |
|
<p> |
17 |
+ |
<em> |
18 |
+ |
Disclaimer - This prototype is experimental code developed as part of |
19 |
+ |
JSR166 and made available to the developer community for use |
20 |
+ |
as-is. It is not a supported product. Use it at your own risk. The |
21 |
+ |
specification, language and implementation are subject to change as a |
22 |
+ |
result of your feedback. Because these features have not yet been |
23 |
+ |
approved for addition to the Java language, there is no schedule for |
24 |
+ |
their inclusion in a product. |
25 |
+ |
</em> |
26 |
+ |
|
27 |
+ |
<p> |
28 |
|
Package java.util.concurrent contains utility classes that are |
29 |
|
commonly useful in concurrent programming. Like package java.util, it |
30 |
|
includes a few small standardized extensible frameworks, as well as |
98 |
|
Futures. This is supported in part by defining java.lang.Callable, the |
99 |
|
argument/result analog of Runnable. |
100 |
|
|
101 |
< |
<p> While the Executor framework is intended to be extensible (so |
102 |
< |
includes for example, AbstractExecutor that simplifies construction of |
103 |
< |
new implementations), the most commonly used Executor will be |
104 |
< |
ThreadExecutor, which can be configured to act as all sorts of thread |
105 |
< |
pools, background threads, etc. The class is designed to be general |
106 |
< |
enough to suffice for the vast majority of usages, even sophisticated |
96 |
< |
ones, yet also includes methods and functionality that simplify |
97 |
< |
routine usage. |
101 |
> |
<p> While the Executor framework is intended to be extensible the most |
102 |
> |
commonly used Executor will be ThreadExecutor, which can be configured |
103 |
> |
to act as all sorts of thread pools, background threads, etc. The |
104 |
> |
class is designed to be general enough to suffice for the vast |
105 |
> |
majority of usages, even sophisticated ones, yet also includes methods |
106 |
> |
and functionality that simplify routine usage. |
107 |
|
|
108 |
|
<p> |
109 |
|
A few methods will also be added to the java.util.Timer to support |