public final class FixedDelayWithJitter extends Object implements BackoffStrategy
| Constructor and Description |
|---|
FixedDelayWithJitter(Supplier<Random> randomSupplier,
Duration delay) |
| Modifier and Type | Method and Description |
|---|---|
Duration |
computeDelay(int attempt)
Compute the amount of time to wait before the provided attempt number is executed.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitexponentialDelay, exponentialDelayHalfJitter, exponentialDelayWithoutJitter, fixedDelay, fixedDelayWithoutJitter, retryImmediatelypublic Duration computeDelay(int attempt)
BackoffStrategycomputeDelay in interface BackoffStrategyattempt - The attempt to compute the delay for, starting at one.Copyright © 2026. All rights reserved.