Click or drag to resize

StageConfigurationAllowOutputRecordReuse Property

Gets a value that indicates whether the tasks of this stage may re-use the same object instance when they write records to the output.

Namespace:  Ookii.Jumbo.Jet.Jobs
Assembly:  Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax
public bool AllowOutputRecordReuse { get; }

Property Value

Type: Boolean
Remarks

This property will return if this stage has no child stage, or if child stage's AllowRecordReuse property is and the child stage is a push task.

If you write a task type that may be used in multiple types of jobs, and you are not certain what the job configuration the task type is used in will look like, you should check this property to see if you can re-use the same object instance for the record passed to every call to WriteRecord(T). If this property is , you must create a new instance every time.

A child stage which isn't a push task doesn't support output record reuse because the pipeline channel for pull tasks doesn't support it.

See Also