| 98 |
Futures. This is supported in part by defining java.lang.Callable, the |
Futures. This is supported in part by defining java.lang.Callable, the |
| 99 |
argument/result analog of Runnable. |
argument/result analog of Runnable. |
| 100 |
|
|
| 101 |
<p> While the Executor framework is intended to be extensible (so |
<p> While the Executor framework is intended to be extensible the most |
| 102 |
includes for example, AbstractExecutor that simplifies construction of |
commonly used Executor will be ThreadExecutor, which can be configured |
| 103 |
new implementations), the most commonly used Executor will be |
to act as all sorts of thread pools, background threads, etc. The |
| 104 |
ThreadExecutor, which can be configured to act as all sorts of thread |
class is designed to be general enough to suffice for the vast |
| 105 |
pools, background threads, etc. The class is designed to be general |
majority of usages, even sophisticated ones, yet also includes methods |
| 106 |
enough to suffice for the vast majority of usages, even sophisticated |
and functionality that simplify routine usage. |
|
ones, yet also includes methods and functionality that simplify |
|
|
routine usage. |
|
| 107 |
|
|
| 108 |
<p> |
<p> |
| 109 |
A few methods will also be added to the java.util.Timer to support |
A few methods will also be added to the java.util.Timer to support |