|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectgpars.dataflow.DataFlow
class DataFlow
Contains factory methods to create dataflow actors and starting them.
| Property Summary | |
|---|---|
static DataFlowPGroup |
DATA_FLOW_GROUP
The actor group used by all Dataflow Concurrency actors by default. |
| Constructor Summary | |
DataFlow()
|
|
| Method Summary | |
|---|---|
static DataFlowOperator
|
operator(Map channels, groovy.lang.Closure code)
Creates an operator using the default operator actor group |
static Actor
|
start(groovy.lang.Closure code)
Creates a new instance of SingleRunActor to run the supplied code. |
static void
|
task(groovy.lang.Closure code)
Creates a new task assigned to a thread from the default dataflow actor group. |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Property Detail |
|---|
public static final DataFlowPGroup DATA_FLOW_GROUP
| Constructor Detail |
|---|
DataFlow()
| Method Detail |
|---|
public static DataFlowOperator operator(Map channels, groovy.lang.Closure code)
public static Actor start(groovy.lang.Closure code)
public static void task(groovy.lang.Closure code)
Groovy Documentation