 | ITaskServerJobInfoFindDataInputTaskToSchedule Method |
Finds the a task using data input to schedule on this server.
Namespace: Ookii.Jumbo.Jet.SchedulingAssembly: Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
SyntaxITaskInfo 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 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
ITaskInfoThe
ITaskInfo for the task to schedule, or
if there is no task
that can be scheduled.
See Also