calculateRetryDelay method
Calculate retry delay with exponential backoff and optional jitter.
Exposed as @protected so subclasses (such as ZenInfiniteQuery) reuse
identical backoff, jitter, and retryDelayFn semantics.
Implementation
@protected
Duration calculateRetryDelay(int attempt, Object currentError) =>
_calculateRetryDelay(attempt, currentError);