public abstract class PGroupBuilder
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
PGroupBuilder() |
Modifier and Type | Method and Description |
---|---|
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
|
public static PGroup createFromPool(Pool pool)
pool
- The pool to wrap by the new grouppublic static PGroup createFromPool(jsr166y.ForkJoinPool pool)
pool
- The pool to wrap by the new grouppublic static PGroup createFromPool(java.util.concurrent.ThreadPoolExecutor pool)
pool
- The pool to wrap by the new group