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: 2.0.0
Syntax
ITaskInfo FindDataInputTaskToSchedule(
	IStageInfo stage,
	int distance
)

Parameters

stage
Type: Ookii.Jumbo.Jet.SchedulingIStageInfo
The stage containing the tasks to schedule.
distance
Type: SystemInt32
The distance of the input data: 0 for local data, 1 for rack-local data, and 2 for non-local data.

Return Value

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