public class MultipleOf extends Constant
AbstractDelay.timeout has been reached. After which
it will return Duration.ZERO| Modifier and Type | Class and Description |
|---|---|
static class |
MultipleOf.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MultipleOf.Builder |
multipleOf() |
Duration |
nextDelay(int attempt)
Returns the new delay amount to stabilize as defined by
Duration time. |
public static MultipleOf.Builder multipleOf()
public Duration nextDelay(int attempt)
DelayDuration time. This returns -1 to indicate that we are done
with delays from this instance Different implementations can return different
valuesnextDelay in interface DelaynextDelay in class ConstantDuration.ZERO to indicate
delay is completeCopyright © 2019 Amazon Web Services, Inc. All Rights Reserved.