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
Id
GuidJob ID.
Status
JobStatusJob status.
CreateTime
InstantCreate time.
StartTime
Instant?Start time (
null
when not yet started).FinishTime
Instant?Finish time (
null
when 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; }