class ListGroupAny
The ListGroupAny is an implementation of a Group in which all the outputs of the Worker processes are written to an any2One channel so they can be connected to a single process. As such this process will always likely be the last in a sequence of Groups .
inputList
- A ChannelInputList with as many channels as the value of workers.
Each Worker process reads from just one element of the input.outputAny
- The channel upon which processed data objects are written. The
channel must be an any2one 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 worker processes 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 |
ChannelInputList |
inputList |
String |
logPhaseName |
String |
logPropertyName |
List |
modifier |
boolean |
outData |
ChannelOutput |
outputAny |
int |
workers |
Constructor and description |
---|
ListGroupAny
() |
GPP - Groovy Parallel Patterns generated 06112016 by Jon Kerridge, Edinburgh Napier University - j.kerridge@napier.ac.uk