Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ForkJoinPool.ForkJoinWorkerThreadFactory
Factory for creating new ForkJoinWorkerThread
s.
A ForkJoinWorkerThreadFactory
must be defined and used
for ForkJoinWorkerThread
subclasses that extend base
functionality or initialize threads with different contexts.
Modifier and Type | Method and Description |
---|---|
ForkJoinWorkerThread |
newThread(ForkJoinPool pool)
Returns a new worker thread operating in the given pool. |
Method Detail |
---|
ForkJoinWorkerThread newThread(ForkJoinPool pool)
pool
- the pool this thread works inNullPointerException
- if the pool is null
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.