Skip to content

IJobShard Properties

Represents a shard of durable jobs that manages a collection of jobs within a specific time range. A job shard is responsible for storing, retrieving, and managing the lifecycle of durable jobs that fall within its designated time window.

EndTime

abstractget
public abstract DateTimeOffset EndTime
Gets the end time of the time range managed by this shard.

Id

abstractget
public abstract string Id
Gets the unique identifier for this job shard.

IsAddingCompleted

abstractget
public abstract bool IsAddingCompleted
Gets a value indicating whether this shard has been marked as complete and is no longer accepting new jobs.

Metadata

abstractget
public abstract IDictionary<string, string>? Metadata
Gets optional metadata associated with this job shard.

StartTime

abstractget
public abstract DateTimeOffset StartTime
Gets the start time of the time range managed by this shard.