Class OrchestrationEngine
Job orchestration engine.
Inheritance
System.Object
OrchestrationEngine
Namespace: DNVGL.One.Compute.Scheduling.Orchestrator
Assembly: DNVGL.One.Compute.Scheduling.dll
Syntax
public class OrchestrationEngine : object
Constructors
View SourceOrchestrationEngine(FlowGraph)
Initializes a new instance of the OrchestrationEngine class.
Declaration
public OrchestrationEngine(FlowGraph work)
Parameters
| Type | Name | Description |
|---|---|---|
| FlowGraph | work | The work. |
Properties
View SourceHasPendingWork
Gets a value indicating whether this instance has pending work.
Declaration
public bool HasPendingWork { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
|
Methods
View SourceCompleteWork(IEnumerable<WorkUnit>)
Completes the specified work.
Declaration
public void CompleteWork(IEnumerable<WorkUnit> completedWork)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<WorkUnit> | completedWork | The completed work. |
TakeMoreWork()
Take the next work to process.
Declaration
public IEnumerable<WorkUnit> TakeMoreWork()
Returns
| Type | Description |
|---|---|
| IEnumerable<WorkUnit> | Next work to process. |