Class JobState
Compute job state.
public sealed record JobState : IEquatable<JobState>
- Inheritance
-
JobState
- Implements
- Inherited Members
Constructors
JobState(Guid, JobStatus, Instant, Instant?, Instant?)
Compute job state.
public JobState(Guid Id, JobStatus Status, Instant CreateTime, Instant? StartTime, Instant? FinishTime)
Parameters
IdGuidJob ID.
StatusJobStatusJob status.
CreateTimeInstantCreate time.
StartTimeInstant?Start time (
nullwhen not yet started).FinishTimeInstant?Finish time (
nullwhen not yet finished).
Properties
CreateTime
Create time.
public Instant CreateTime { get; init; }
Property Value
FinishTime
Finish time (null when not yet finished).
public Instant? FinishTime { get; init; }
Property Value
Id
Job ID.
public Guid Id { get; init; }
Property Value
StartTime
Start time (null when not yet started).
public Instant? StartTime { get; init; }
Property Value
Status
Job status.
public JobStatus Status { get; init; }