Click or drag to resize

IJobServerTaskProtocolNotifyStartPartitionProcessing Method

Notifies the job server that a task is about to start processing the specified partition.

Namespace: Ookii.Jumbo.Jet
Assembly: Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
bool NotifyStartPartitionProcessing(
	Guid jobId,
	TaskId taskId,
	int partitionNumber
)

Parameters

jobId  Guid
The job ID.
taskId  TaskId
The task ID.
partitionNumber  Int32
The partition number.

Return Value

Boolean
if the task should start processing the partition; if it has been reassigned to another task.
Remarks

This method needn't be called for the first partition returned by GetPartitionsForTask(Guid, TaskId) or GetAdditionalPartitions(Guid, TaskId); that partition is implicitly considered to immediately start processing.

See Also