Table of Contents

Class ScheduledJob<V>

Namespace
Cognite.Simulator.Utils
Assembly
Cognite.Simulator.Utils.dll

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

long

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

bool

Task

The Task of the scheduled job.

public Task Task { get; set; }

Property Value

Task

TokenSource

The token source for the job, will be used to cancel it.

public CancellationTokenSource TokenSource { get; set; }

Property Value

CancellationTokenSource