class Emit
The Emit process is used to send newly instanced data objects of type emitClassName to the rest of the parallel structure. It sends output data objects to one output channel. Once the all the data objects have been created the process terminates and writes a UniversalTerminator object to the output channel.
Methods required by class emitClassName: initClass( initialData ) createInstance( createData ) Behaviour: emitClass.newInstance() initClass(initialData) while createInstance(createData) == normalContinuation output.write(emitClass) emitClass.newInstance()
output
- The one2one channel to which data objects are writteneDetails
- A DataDetails object containing information concerning the DataClass
used by the Emit processlogPhaseName
- an optional string property, which if specified indicates that the process should be logged
otherwise the process will not be loggedlogPropertyName
- the name of a property in the eDetails object that will uniquely identify an instance of the object.
LogPropertyName must be specified if logPhaseName is specifiedType | Name and description |
---|---|
DataDetails |
eDetails |
String |
logPhaseName |
String |
logPropertyName |
ChannelOutput |
output |
Constructor and description |
---|
Emit
() |
GPP - Groovy Parallel Patterns generated 06112016 by Jon Kerridge, Edinburgh Napier University - j.kerridge@napier.ac.uk