JobSummary

data class JobSummary(val id: JobId, val kind: String, val queue: QueueName, val status: JobStatus, val attempt: Int, val runAt: Instant, val enqueuedAt: Instant, val scheduleId: String?, val retryAt: Instant?, val terminalAt: Instant?)

One job row as a listing sees it: everything but the payload and lease internals.

Constructors

Link copied to clipboard
constructor(id: JobId, kind: String, queue: QueueName, status: JobStatus, attempt: Int, runAt: Instant, enqueuedAt: Instant, scheduleId: String?, retryAt: Instant?, terminalAt: Instant?)

Properties

Link copied to clipboard

Executions so far; 0 for a job never claimed.

Link copied to clipboard
Link copied to clipboard
val id: JobId
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Non-null exactly when status is JobStatus.Failed: when the booked retry is due.

Link copied to clipboard
Link copied to clipboard

Non-null when this run was emitted by a recurring schedule or triggerNow.

Link copied to clipboard
Link copied to clipboard

Non-null exactly when status is terminal: when the run reached that state.