Uses of Class
com.kingsrook.qqq.backend.core.jobs.progress.JobProgressSnapshot
Packages that use JobProgressSnapshot
Package
Description
-
Uses of JobProgressSnapshot in com.kingsrook.qqq.backend.core.actions.async
Methods in com.kingsrook.qqq.backend.core.actions.async that return JobProgressSnapshotMethods in com.kingsrook.qqq.backend.core.actions.async with parameters of type JobProgressSnapshotModifier and TypeMethodDescriptionvoidAsyncJobStatus.setProgress(JobProgressSnapshot progress) Setter for progressvoidAsyncJobCallback.updateProgress(JobProgressSnapshot progress, List<JobLogLine> logTail) Publish rich progress and the redacted tail through this callback.AsyncJobStatus.withProgress(JobProgressSnapshot progress) Fluent setter for progress -
Uses of JobProgressSnapshot in com.kingsrook.qqq.backend.core.jobs.progress
Methods in com.kingsrook.qqq.backend.core.jobs.progress that return JobProgressSnapshotModifier and TypeMethodDescriptionJobProgress.getSnapshot()Current snapshot for adapters and tests.static JobProgressSnapshotRead a snapshot, falling back to committed counts for existing jobs.JobProgressSnapshot.withBytesDone(Long bytesDone) Fluent setter for bytesDoneJobProgressSnapshot.withBytesTotal(Long bytesTotal) Fluent setter for bytesTotalJobProgressSnapshot.withCurrentPhase(String currentPhase) Fluent setter for currentPhaseFluent setter for doneJobProgressSnapshot.withEtaSeconds(Long etaSeconds) Fluent setter for etaSecondsJobProgressSnapshot.withMessage(String message) Fluent setter for messageJobProgressSnapshot.withPercent(Double percent) Fluent setter for percentJobProgressSnapshot.withPhases(List<JobPhase> phases) Fluent setter for phasesFluent setter for totalJobProgressSnapshot.withUnitLabel(String unitLabel) Fluent setter for unitLabelJobProgressSnapshot.withUpdatedAt(Instant updatedAt) Fluent setter for updatedAtMethods in com.kingsrook.qqq.backend.core.jobs.progress with parameters of type JobProgressSnapshotModifier and TypeMethodDescriptionbooleanJobLogWriter.flush(JobProgressSnapshot snapshot, boolean force) Flush at most once per second, except phase changes, warnings, and chunk end.static Map<String, Serializable> JobLogWriter.progressValues(JobProgressSnapshot snapshot) Columns mirror the snapshot.voidJobProgressMath.update(JobProgressSnapshot snapshot, QRecord job, int currentAttempt, Instant now) Derive percent and ETA.