Class ScheduledJob<V>
Represents a scheduled job for simulation.
public class ScheduledJob<V> where V : SimulatorRoutineRevision
Type Parameters
V
Type of the simulator routine revision
- Inheritance
-
ScheduledJob<V>
- Inherited Members
Properties
CreatedTime
The time the job was created.
public long CreatedTime { get; set; }
Property Value
RoutineRevision
Routine revision.
public V RoutineRevision { get; set; }
Property Value
- V
Schedule
The schedule for the job.
public CrontabSchedule Schedule { get; set; }
Property Value
- CrontabSchedule
Scheduled
Whether the job was started on the scheduler or not.
public bool Scheduled { get; set; }
Property Value
Task
The Task of the scheduled job.
public Task Task { get; set; }
Property Value
TokenSource
The token source for the job, will be used to cancel it.
public CancellationTokenSource TokenSource { get; set; }