| 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
)
Function FindDataInputTaskToSchedule (
stage As IStageInfo,
distance As Integer
) As ITaskInfo
ITaskInfo^ FindDataInputTaskToSchedule(
IStageInfo^ stage,
int distance
)
abstract FindDataInputTaskToSchedule :
stage : IStageInfo *
distance : int -> ITaskInfo
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:
ITaskInfoThe
ITaskInfo for the task to schedule, or
if there is no task
that can be scheduled.
See Also