Click or drag to resize

ITaskServerJobInfoFindDataInputTaskToSchedule Method

Finds the a task using data input to schedule on this server.

Namespace: Ookii.Jumbo.Jet.Scheduling
Assembly: Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
ITaskInfo FindDataInputTaskToSchedule(
	IStageInfo stage,
	int distance
)

Parameters

stage  IStageInfo
The stage containing the tasks to schedule.
distance  Int32
The distance of the input data: 0 for local data, 1 for rack-local data, and 2 for non-local data.

Return Value

ITaskInfo
The ITaskInfo for the task to schedule, or if there is no task that can be scheduled.
See Also