Click or drag to resize

TwoStepOperation Class

Represents a job builder operation that may consist of two steps.
Inheritance Hierarchy

Namespace:  Ookii.Jumbo.Jet.Jobs.Builder
Assembly:  Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax
public class TwoStepOperation : StageOperation

The TwoStepOperation type exposes the following members.

Constructors
  NameDescription
Public methodTwoStepOperation
Initializes a new instance of the TwoStepOperation class.
Top
Properties
  NameDescription
Protected propertyFirstStepStage
Gets the StageConfiguration for the first step.
Public propertyInputChannel
Gets the input channel for this operation.
(Inherited from StageOperation.)
Protected propertyOutput
Gets the output for this operation.
(Inherited from StageOperationBase.)
Public propertySecondStepStageId
Gets or sets the stage ID for the second step, if one is created.
Public propertySecondStepTaskType
Gets the type of the task for the second step, if one is created.
Public propertySettings
Gets the settings for the stage.
(Inherited from StageOperationBase.)
Public propertyStageId
Gets or sets the name of the stage that will be created from this operation.
(Inherited from StageOperationBase.)
Public propertyTaskType
Gets information about the type of the task.
(Inherited from StageOperationBase.)
Top
Methods
  NameDescription
Public methodAddSchedulingDependency
Adds a scheduling dependency on the specified stage to this stage.
(Inherited from StageOperationBase.)
Protected methodCreateConfiguration
Creates the configuration for this stage.
(Overrides StageOperationCreateConfiguration(JobBuilderCompiler).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

Sorting is an example of a two step operation: first each input is locally sorted, and then the result is merged on the receiving side of the channel.

The additional step is only created when necessary. If the input is a channel with only one task in the sending stage (or a file input with only one split), or the channel type is explicitly set to pipeline no additional step is created.

Any settings specified in the Settings property will be applied to both stages created for this step.

See Also