org.codehaus.gpars

groovyx.gpars.group
[Java] Class PGroupBuilder

java.lang.Object
  groovyx.gpars.group.PGroupBuilder

@java.lang.SuppressWarnings/**
public abstract class PGroupBuilder

Provides convenience factory methods to build PGroups from various types of thread pools

Authors:
Vaclav Pech


Constructor Summary
private PGroupBuilder()

 
Method Summary
static PGroup createFromPool(Pool pool)

static PGroup createFromPool(ForkJoinPool pool)

static PGroup createFromPool(java.util.concurrent.ThreadPoolExecutor pool)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Constructor Detail

PGroupBuilder

private PGroupBuilder()


 
Method Detail

createFromPool

public static PGroup createFromPool(Pool pool)


createFromPool

public static PGroup createFromPool(ForkJoinPool pool)


createFromPool

public static PGroup createFromPool(java.util.concurrent.ThreadPoolExecutor pool)


 

Copyright © 2008–2013 Václav Pech. All Rights Reserved.