[This is preliminary documentation and is subject to change.]
A work item and the list of categories that match the work item.
Inheritance Hierarchy
Microsoft.Research.Naiad.Frameworks.WorkGeneratorMatchingCoordinatorTInput, TCategory, TWorkStub, TWorkDescription, TWorkerDescriptionMatch
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 class Match
The MatchingCoordinatorTInput, TCategory, TWorkStub, TWorkDescription, TWorkerDescriptionMatch generic type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MatchingCoordinatorTInput, TCategory, TWorkStub, TWorkDescription, TWorkerDescriptionMatch |
Create a new empty match.
|
Fields
Name | Description | |
---|---|---|
categories |
A list of queues that match to this work item. If this list is null or empty, the item will
be assigned to an available worker after that worker has executed all matching items.
| |
workStub |
A stub description of the work, to be passed to the worker when the work is assigned. Once the worker is
assigned the stub is converted to a TWorkDescription using the derived ExpandWorkItem method; this allows
for the case that the work item description is dependent on which worker is chosen to execute it
|
See Also