PollingStrategy.DelayStrategypublic class FixedDelayStrategy extends Object implements PollingStrategy.DelayStrategy
| Constructor | Description |
|---|---|
FixedDelayStrategy(int defaultDelayInSeconds) |
Constructs a new FixedDelayStrategy with the given
default delay time
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
delayBeforeNextRetry(PollingStrategyContext pollingStrategyContext) |
Defines a default way of delaying the polling bound by
the default delay associated with the corresponding
waiter definition
|
public FixedDelayStrategy(int defaultDelayInSeconds)
public void delayBeforeNextRetry(PollingStrategyContext pollingStrategyContext) throws InterruptedException
delayBeforeNextRetry in interface PollingStrategy.DelayStrategypollingStrategyContext - Provides the polling context required to define custom delayInterruptedExceptionPollingStrategyContextCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.