[This is preliminary documentation and is subject to change.]
Given a worker, return a matching queue from this.waitingWork (and fill in its key to categoryKey)
or null if there is no matching queue
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#
protected abstract MatchingCoordinatorTInput, TCategory, TWorkStub, TWorkDescription, TWorkerDescriptionMatchQueue MapWorkerToQueue( TWorkerDescription worker, ref TCategory categoryKey )
Parameters
- worker
- Type: TWorkerDescription
The worker to match to a category - categoryKey
- Type: TCategory
The category of the matching queue, if there is one
Return Value
Type: MatchingCoordinatorTInput, TCategory, TWorkStub, TWorkDescription, TWorkerDescriptionMatchQueueThe matching queue, or null if there is no matching queue
See Also