344 |
|
* java.lang.InheritableThreadLocal} values. If necessary, |
345 |
|
* particular values of thread locals can be set or reset before |
346 |
|
* any task runs in {@link ThreadPoolExecutor} subclasses using |
347 |
< |
* {@link ThreadPoolExecutor#beforeExecute}. Also, if it is |
348 |
< |
* necessary to initialize worker threads to have the same |
349 |
< |
* InheritableThreadLocal settings as some other designated |
350 |
< |
* thread, you can create a custom ThreadFactory in which that |
351 |
< |
* thread waits for and services requests to create others that |
352 |
< |
* will inherit its values. |
347 |
> |
* {@link ThreadPoolExecutor#beforeExecute(Thread, Runnable)}. |
348 |
> |
* Also, if it is necessary to initialize worker threads to have |
349 |
> |
* the same InheritableThreadLocal settings as some other |
350 |
> |
* designated thread, you can create a custom ThreadFactory in |
351 |
> |
* which that thread waits for and services requests to create |
352 |
> |
* others that will inherit its values. |
353 |
|
* |
354 |
|
* @return a thread factory |
355 |
|
* @throws AccessControlException if the current access control |