public class BoundedMinDelayPolicy<T> extends DelayPolicyWrapper<T>
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_MIN_DELAY_MILLIS |
targetDEFAULT, INVALID| Constructor and Description |
|---|
BoundedMinDelayPolicy(DelayPolicy<? super T> target) |
BoundedMinDelayPolicy(DelayPolicy<? super T> target,
Duration minDelay) |
BoundedMinDelayPolicy(DelayPolicy<? super T> target,
long minDelayMillis) |
| Modifier and Type | Method and Description |
|---|---|
Duration |
delay(RetryContext<? extends T> context) |
max, minclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexponential, exponential, exponential, exponential, fixedInterval, fixedInterval, fixedInterval, fixedInterval, isValid, withCusomizer, withFirstRetryNoDelay, withMaxDelay, withMaxDelay, withMaxDelay, withMaxDelay, withMinDelay, withMinDelay, withMinDelay, withMinDelay, withOnFailureNoDelay, withOnSuccessNoDelay, withProportionalJitter, withProportionalJitter, withUniformJitter, withUniformJitter, withUniformJitter, withUniformJitterpublic static final long DEFAULT_MIN_DELAY_MILLIS
public BoundedMinDelayPolicy(DelayPolicy<? super T> target)
public BoundedMinDelayPolicy(DelayPolicy<? super T> target, long minDelayMillis)
public BoundedMinDelayPolicy(DelayPolicy<? super T> target, Duration minDelay)
public Duration delay(RetryContext<? extends T> context)
Copyright © 2021. All rights reserved.