DfsBlockCoordinatorTItemExpandWorkItem Method Naiad Help

[This is preliminary documentation and is subject to change.]

Called when a work item is going to be sent to a worker. If usedMatchingQueue is true then dataNode is the endpoint of the dataNode that matches the worker

Namespace: Microsoft.Research.Naiad.Frameworks.Storage.Dfs
Assembly: Microsoft.Research.Naiad.Storage (in Microsoft.Research.Naiad.Storage.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax

C#
protected override TItem ExpandWorkItem(
	bool usedMatchingQueue,
	IPEndPoint dataNode,
	TItem stub
)

Parameters

usedMatchingQueue
Type: SystemBoolean
true if the work item was pulled from a queue whose datanode is on the same computer as the worker
dataNode
Type: System.NetIPEndPoint
datanode endpoint if the work item was pulled from a matching queue
stub
Type: TItem
work item stub to fill in

Return Value

Type: TItem
work item with the datanode address filled in correctly
See Also

Reference