Skip to content

DurableJob Properties

Represents a durable job that will be executed at a specific time.

DueTime

getinit
View source
[Orleans.Id(2)]
public DateTimeOffset DueTime
Gets the time when this job is due to be executed.

Id

getinit
View source
[Orleans.Id(0)]
public string Id
Gets the unique identifier for this durable job.

Metadata

getinit
View source
[Orleans.Id(5)]
public IReadOnlyDictionary<string, string>? Metadata
Gets optional metadata associated with this durable job.

Name

getinit
View source
[Orleans.Id(1)]
public string Name
Gets the name of the durable job.

ShardId

getinit
View source
[Orleans.Id(4)]
public string ShardId
Gets the identifier of the shard that manages this durable job.

TargetGrainId

getinit
View source
[Orleans.Id(3)]
public GrainId TargetGrainId
Gets the identifier of the target grain that will handle this job.

TraceParent

getinit
View source
[Orleans.Id(6)]
public string? TraceParent
Gets the W3C traceparent value captured when the job was scheduled. Used to continue the distributed trace when the job is later executed.

TraceState

getinit
View source
[Orleans.Id(7)]
public string? TraceState
Gets the W3C tracestate value captured when the job was scheduled. Used to continue the distributed trace when the job is later executed.