class AnyGroupAny
The AnyGroupAny is an implementation of a Group in which inputs are read from a one2any channel and all the outputs of the Worker processes are written to an any2One channel so they can be connected to a single process.
inputAny
- A the any end of a one2any channel from which input objects are read.
Each Worker process reads from just one element of the input.outputAny
- The any channel end upon which processed data objects are written. The
channel must be an any2one or any2any channel and this process
must be allocated the any end of the channelgDetails
- A GroupDetails object defining any local class of each worker, default to nullfunction
- The name of the function identifying the operation to be undertaken
by the Worker processesmodifier
- Contains a possible modifier for the operation, with each Worker
accessing the element that corresponds to the index of the Worker.workers
- The number of Worker processes that will be created
when the Group is runoutData
- If true the process will output each processed input object. If false the process will output
the workerClass once only, after it has processed all the input data objects. The output
only happens after the finalise method has been called. outData defaults to true.logPhaseName
- an optional string property, which if specified indicates that the process should be logged
otherwise the process will not be logged. Each process in the group will be uniquely indexed.logPropertyName
- the name of a property in the input object that will uniquely identify an instance of the object.
LogPropertyName must be specified if logPhaseName is specifiedType | Name and description |
---|---|
String |
function |
GroupDetails |
gDetails |
ChannelInput |
inputAny |
String |
logPhaseName |
String |
logPropertyName |
List |
modifier |
boolean |
outData |
ChannelOutput |
outputAny |
int |
workers |
Constructor and description |
---|
AnyGroupAny
() |
GPP - Groovy Parallel Patterns generated 06112016 by Jon Kerridge, Edinburgh Napier University - j.kerridge@napier.ac.uk