|
Java™ Platform Standard Ed. 7 DRAFT ea-b89 |
|||||||||
| 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 ForkJoinWorkerThreads.
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-b89 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2010 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.