JobState
The lifecycle of a job run.
Scheduled -> Enqueued -> Running -> Succeeded
| Failed (a retry is booked for retryAt)
| DeadLettered
| CancelledContent copied to clipboard
com.eventslooped.klokka.spi.JobStore.transition performs a compare-and-set on these values: a transition only applies if the stored state still equals the expected from state.