Package-level declarations
Types
Metrics the retry wrapper collects after each attempt (success or failure). The caller supplies them via retryWith's collectAttemptMetrics callback — typically by reading consumptionTracker.collectAndClear() and a captured TimeMark.elapsedNow().
Per-attempt wait-time growth strategy applied to transient-failure retries.
A single failed attempt that preceded the final attempt of a retried operation.
Outcome of a single retryWith invocation; describes the whole retry sequence, not a single retry attempt. The leaf-record constructors consume this to build their Completed / Failed records.
Runtime policy consumed by the retry wrapper. Translates an observed failure into "should we retry now?" + "if so, wait how long?".
How the retry policy treats failures of TransiencyLevel.UNKNOWN transiency (i.e. the recognizer couldn't classify the exception).
Functions
Runs block up to policy.maxAttempts + 1 times (one initial attempt plus up to maxAttempts retries), capturing per-attempt metrics via collectAttemptMetrics and applying retry / delay decisions per policy.