[This is preliminary documentation and is subject to change.]
Internal record describing a worker that is ready to receive a work item, sent by the Worker to the Coordinator when
the Worker has processed a WorkItem. This is public only for the benefit of the serialization code
Namespace: Microsoft.Research.Naiad.Frameworks.WorkGenerator
Assembly: Microsoft.Research.Naiad.WorkGenerator (in Microsoft.Research.Naiad.WorkGenerator.dll) Version: 0.5.0.0 (0.5.0.0)
Syntax
C#
public struct WorkRequest<TWorkerDescription>
Type Parameters
- TWorkerDescription
- Type describing a worker, for use matching items to workers
The WorkRequestTWorkerDescription type exposes the following members.
Fields
Name | Description | |
---|---|---|
description |
This describes the worker that is ready for a new work assignment, and is used to match items to workers
| |
source |
This matches the destination of the WorkItem that triggered the send. It is the partitioning key that tells Naiad
how to route items to workers, and it is just passed through unchanged from WorkItem.destination to WorkRequest.source
|
See Also