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