JobQuery

data class JobQuery(val status: JobStatus? = null, val kind: String? = null, val queue: QueueName? = null, val limit: Int = 50, val offset: Int = 0)

Filter and page for QueryableStore.listJobs. Null filter fields mean "any". limit/offset page through the filtered set; stores order results most recently persisted first, so page 0 is the newest work.

Constructors

Link copied to clipboard
constructor(status: JobStatus? = null, kind: String? = null, queue: QueueName? = null, limit: Int = 50, offset: Int = 0)

Properties

Link copied to clipboard
val kind: String?
Link copied to clipboard
val limit: Int
Link copied to clipboard
val offset: Int
Link copied to clipboard
Link copied to clipboard