63 |
|
* {@link #toString} returns indications of pool state in a |
64 |
|
* convenient form for informal monitoring. |
65 |
|
* |
66 |
< |
* <p> As is the case with other ExecutorServices, there are three |
66 |
> |
* <p>As is the case with other ExecutorServices, there are three |
67 |
|
* main task execution methods summarized in the following table. |
68 |
|
* These are designed to be used primarily by clients not already |
69 |
|
* engaged in fork/join computations in the current pool. The main |
105 |
|
* an integer greater than zero, {@code threadFactory} -- the class |
106 |
|
* name of a {@link ForkJoinWorkerThreadFactory}, and {@code |
107 |
|
* exceptionHandler} -- the class name of a {@link |
108 |
+ |
* java.lang.Thread.UncaughtExceptionHandler |
109 |
|
* Thread.UncaughtExceptionHandler}. Upon any error in establishing |
110 |
|
* these settings, default parameters are used. |
111 |
|
* |
1851 |
|
|
1852 |
|
/** |
1853 |
|
* Analog of tryHelpStealer for CountedCompleters. Tries to steal |
1854 |
< |
* and run tasks within the target's computation |
1854 |
> |
* and run tasks within the target's computation. |
1855 |
|
* |
1856 |
|
* @param task the task to join |
1857 |
|
* @param mode if shared, exit upon completing any task |