|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgroovyx.gpars.group.PGroup
gpars.dataflow.DataFlowPGroup
public final class DataFlowPGroup extends PGroup
Groups all dataflow threads, tasks and operators. DataFlow leverages a resizeable pool of non-daemon threads. DataFlowPGroup can be used directly to create and group dataflow actors (threads)
DataFlowPGroup group = new DataFlowPGroup() group.actor { .... }
Constructor Summary | |
DataFlowPGroup(int poolSize)
Creates a default group for dataflow tasks and operators. |
Constructor Detail |
---|
public DataFlowPGroup(int poolSize)
poolSize
- The initial size of the underlying thread pool
Groovy Documentation