Class OrchestrationEnvironment
Contains the services used by the JobOrchestrator.
Inheritance
System.Object
OrchestrationEnvironment
Namespace: DNVGL.One.Compute.Scheduling.Orchestrator
Assembly: DNVGL.One.Compute.Scheduling.dll
Syntax
public class OrchestrationEnvironment : object
Constructors
View SourceOrchestrationEnvironment(ILogger, IWorkScheduler, IWorkItemStatusService, IJobStatusService, IFlowModelStorageService<WorkItem>, IDynamicWorkMonitorFactory)
Initializes a new instance of the OrchestrationEnvironment class.
Declaration
public OrchestrationEnvironment(ILogger logger, IWorkScheduler scheduler, IWorkItemStatusService taskStatusService, IJobStatusService jobStatusService, IFlowModelStorageService<WorkItem> workItemStorageService, IDynamicWorkMonitorFactory dynamicWorkMonitorFactory = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ILogger | logger | The logger. |
| IWorkScheduler | scheduler | The scheduler. |
| IWorkItemStatusService | taskStatusService | The task status service. |
| IJobStatusService | jobStatusService | The job status service. |
| IFlowModelStorageService<WorkItem> | workItemStorageService | The work item storage service. |
| IDynamicWorkMonitorFactory | dynamicWorkMonitorFactory | Factory for dynamic work monitors. |
Properties
View SourceDynamicWorkMonitorFactory
Gets a factory for dynamic work monitors.
Declaration
public IDynamicWorkMonitorFactory DynamicWorkMonitorFactory { get; }
Property Value
| Type | Description |
|---|---|
| IDynamicWorkMonitorFactory |
JobStatusService
Gets the job status service.
Declaration
public IJobStatusService JobStatusService { get; }
Property Value
| Type | Description |
|---|---|
| IJobStatusService | The job status service. |
Logger
Gets the logger.
Declaration
public ILogger Logger { get; }
Property Value
| Type | Description |
|---|---|
| ILogger | The logger. |
WorkItemStatusService
Gets the work item status service.
Declaration
public IWorkItemStatusService WorkItemStatusService { get; }
Property Value
| Type | Description |
|---|---|
| IWorkItemStatusService | The work item status service. |
WorkItemStorageService
Gets the work item storage service.
Declaration
public IFlowModelStorageService<WorkItem> WorkItemStorageService { get; }
Property Value
| Type | Description |
|---|---|
| IFlowModelStorageService<WorkItem> | The work item storage service. |
WorkScheduler
Gets the work scheduler.
Declaration
public IWorkScheduler WorkScheduler { get; }
Property Value
| Type | Description |
|---|---|
| IWorkScheduler | The work scheduler. |