class GroupToAny
The GroupToAny 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 be the last in a sequence of Group patterns.
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 channeldataClassName
- The name of the Class to be processed by each of the
contained Worker processesworkerClassname
- The name of the worker class associated with the GroupworkerInitData
- A list comprising parameters to initialise the workerClassoperation
- The code value 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 Farm is run
Further Author Information, Copyright and License are held in the file \\src\\Copyright and License
Type | Name and description |
---|---|
String |
dataClasssName |
ChannelInputList |
inputList |
def |
modifier |
int |
operation |
ChannelOutput |
outputAny |
String |
workerClassName |
def |
workerInitData |
int |
workers |
Constructor and description |
---|
GroupToAny
() |
GPP - Groovy Parallel Patterns generated test by Jon Kerridge, Edinburgh Napier University - j dot kerridge at napier dot ac dot uk