Interface IWorkMonitor
Monitors ongoing work.
Namespace: DNVGL.One.Compute.Scheduling.WorkScheduling
Assembly: DNVGL.One.Compute.Scheduling.dll
Syntax
public interface IWorkMonitor
Properties
View SourceBackendId
Gets the backend identifier.
Declaration
string BackendId { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The backend identifier. |
BatchId
Gets the identifier of the work batch being monitored.
Declaration
string BatchId { get; }
Property Value
| Type | Description |
|---|---|
| System.String | The batch identifier. |
MonitoredWork
Gets the work being monitored.
Declaration
WorkUnit[] MonitoredWork { get; }
Property Value
| Type | Description |
|---|---|
| WorkUnit[] | The monitored work. |
Methods
View SourceWaitForCompletion(Int32)
Waits for completion of work.
Declaration
WorkItemInfo WaitForCompletion(int timeoutMilliseconds)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | timeoutMilliseconds | The timeout in milliseconds. |
Returns
| Type | Description |
|---|---|
| WorkItemInfo | A |