public static interface ForkJoinPool.ForkJoinWorkerThreadFactory
ForkJoinWorkerThread
s。
甲ForkJoinWorkerThreadFactory
必须定义并用于ForkJoinWorkerThread
子类,与不同的上下文延伸基本功能或初始化线程。
Modifier and Type | Method and Description |
---|---|
ForkJoinWorkerThread |
newThread(ForkJoinPool pool)
返回在给定池中运行的新工作线程。
|
ForkJoinWorkerThread newThread(ForkJoinPool pool)
pool
- 此线程工作的池
NullPointerException
- if the pool is null
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.