Class JobProgressMath
java.lang.Object
com.kingsrook.qqq.backend.core.jobs.progress.JobProgressMath
Attempt-local monotonic progress and a sixty-second sliding rate window.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DoublecommittedFraction(QRecord job) Committed rows first, then chunks; null means indeterminate.voidupdate(JobProgressSnapshot snapshot, QRecord job, int currentAttempt, Instant now) Derive percent and ETA.
-
Constructor Details
-
JobProgressMath
public JobProgressMath()
-
-
Method Details
-
update
Derive percent and ETA. A new attempt discards the previous high-water mark. -
committedFraction
-