110 |
|
* |
111 |
|
* <p>This implementation rejects submitted tasks (that is, by throwing |
112 |
|
* {@link RejectedExecutionException}) only when the pool is shut down |
113 |
< |
* or internal resources have been exhuasted. |
113 |
> |
* or internal resources have been exhausted. |
114 |
|
* |
115 |
|
* @since 1.7 |
116 |
|
* @author Doug Lea |
1271 |
|
|
1272 |
|
/** |
1273 |
|
* Performs the given task, returning its result upon completion. |
1274 |
– |
* If the caller is already engaged in a fork/join computation in |
1275 |
– |
* the current pool, this method is equivalent in effect to |
1276 |
– |
* {@link ForkJoinTask#invoke}. |
1274 |
|
* |
1275 |
|
* @param task the task |
1276 |
|
* @return the task's result |