|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgroovyx.gpars.group.PGroupBuilder
public abstract class PGroupBuilder
Provides convenience factory methods to build PGroups from various types of thread pools
| Constructor Summary | |
|---|---|
private |
PGroupBuilder()
|
| Method Summary | |
|---|---|
static PGroup |
createFromPool(jsr166y.ForkJoinPool pool)
Builds a PGroup instance from a ForkJoinPool instance |
static PGroup |
createFromPool(Pool pool)
Builds a PGroup instance from a Pool instance |
static PGroup |
createFromPool(java.util.concurrent.ThreadPoolExecutor pool)
Builds a PGroup instance from a ThreadPoolExecutor instance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
private PGroupBuilder()
| Method Detail |
|---|
public static PGroup createFromPool(Pool pool)
pool - The pool to wrap by the new group
public static PGroup createFromPool(jsr166y.ForkJoinPool pool)
pool - The pool to wrap by the new group
public static PGroup createFromPool(java.util.concurrent.ThreadPoolExecutor pool)
pool - The pool to wrap by the new group
|
Copyright © 2008–2013 Václav Pech. All Rights Reserved. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||