Uses of Enum Class
com.kingsrook.qqq.backend.core.jobs.model.JobStatus
Packages that use JobStatus
Package
Description
-
Uses of JobStatus in com.kingsrook.qqq.backend.core.jobs.effects
Methods in com.kingsrook.qqq.backend.core.jobs.effects with parameters of type JobStatusModifier and TypeMethodDescriptionJobCompletionEffects.effectsFor(QRecord job, JobStatus completingAs) The job-level effects for a job about to complete. -
Uses of JobStatus in com.kingsrook.qqq.backend.core.jobs.model
Subclasses with type arguments of type JobStatus in com.kingsrook.qqq.backend.core.jobs.modelMethods in com.kingsrook.qqq.backend.core.jobs.model that return JobStatus -
Uses of JobStatus in com.kingsrook.qqq.backend.core.jobs.progress
Methods in com.kingsrook.qqq.backend.core.jobs.progress with parameters of type JobStatusModifier and TypeMethodDescriptionstatic voidFinalize with COMPLETED, FAILED or CANCELLED (the first final status wins).static voidJobProgressLifecycle.finished(DurableJobStore store, QRecord job, JobStatus status, String summary) Append the winning terminal transition summary after its snapshot commits.static Map<String, Serializable> JobProgressLifecycle.terminalValues(DurableJobStore store, QRecord job, JobStatus status, String summary) Persist final progress atomically with the winning status transition. -
Uses of JobStatus in com.kingsrook.qqq.backend.core.jobs.runtime
Methods in com.kingsrook.qqq.backend.core.jobs.runtime that return JobStatusModifier and TypeMethodDescriptionRe-evaluate one job.Methods in com.kingsrook.qqq.backend.core.jobs.runtime with parameters of type JobStatusModifier and TypeMethodDescriptionstatic booleanEmit the providers' effects for the job.static voidA job reached a final (or review) status: notify its owner, raise or resolve the failure alert, publish status.voidInlineJobTracker.finishTracked(Integer jobId, JobStatus terminal, String message) Finalize a tracking job (first terminal status wins).static voidPublish job.status to the job's record channel and the owner's user channel. -
Uses of JobStatus in com.kingsrook.qqq.backend.core.jobs.store
Methods in com.kingsrook.qqq.backend.core.jobs.store with parameters of type JobStatusModifier and TypeMethodDescriptionbooleanDurableJobStore.setJobStatus(Integer jobId, Collection<JobStatus> from, JobStatus to, Map<String, Serializable> extraValues) Compare-and-set a job's status: from one of the expected statuses to a new one, setting any extra values at the same time.booleanDurableJobStore.setJobStatusWithEvent(Integer jobId, Collection<JobStatus> from, JobStatus to, Map<String, Serializable> extraValues, JobEventType eventType, String detail) Compare-and-set a job's status and record its timeline event in one transaction, so a reader that sees the new status also sees the event (status first and event after left a window where a finished job had no COMPLETED event yet).Method parameters in com.kingsrook.qqq.backend.core.jobs.store with type arguments of type JobStatusModifier and TypeMethodDescriptionbooleanDurableJobStore.setJobStatus(Integer jobId, Collection<JobStatus> from, JobStatus to, Map<String, Serializable> extraValues) Compare-and-set a job's status: from one of the expected statuses to a new one, setting any extra values at the same time.booleanDurableJobStore.setJobStatusWithEvent(Integer jobId, Collection<JobStatus> from, JobStatus to, Map<String, Serializable> extraValues, JobEventType eventType, String detail) Compare-and-set a job's status and record its timeline event in one transaction, so a reader that sees the new status also sees the event (status first and event after left a window where a finished job had no COMPLETED event yet).