Click or drag to resize

TaskContext Class

Provides context for a specific task attempt.
Inheritance Hierarchy
SystemObject
  Ookii.Jumbo.JetTaskContext

Namespace:  Ookii.Jumbo.Jet
Assembly:  Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntax
public class TaskContext

The TaskContext type exposes the following members.

Constructors
  NameDescription
Public methodTaskContext
Initializes a new instance of the TaskContext class.
Top
Properties
  NameDescription
Public propertyAttempt
Gets the attempt number of this task attempt.
Public propertyDfsJobDirectory
Gets the directory on the DFS where files related to the job are stored.
Public propertyJobConfiguration
Gets the configuration for the job.
Public propertyJobId
Gets the job ID.
Public propertyLocalJobDirectory
Gets the local directory where files related to the job are stored.
Public propertyStageConfiguration
Gets the configuration for the stage that the task belong to.
Public propertyStatusMessage
Gets or sets the status message for the current task attempt.
Public propertyTaskAttemptId
Gets the task attempt ID for this task attempt.
Public propertyTaskId
Gets the task ID.
Public propertyTaskInput
Gets the task input for this task.
Top
Methods
  NameDescription
Public methodDownloadDfsFile
Requests the task server to download a file from the DFS to make it available to all tasks.
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 methodGetSetting(String, String)
Gets a setting's string value with the specified default value, checking first in the stage settings and then in the job settings.
Public methodGetSettingT(String, T)
Gets a setting with the specified type and default value, checking first in the stage settings and then in the job settings.
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 methodReportProgress
Forces a progress report to be sent on the next progress interval.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also