Package com.oracle.bmc.waiter
Interface DelayStrategy
-
- All Known Implementing Classes:
ExponentialBackoffDelayStrategy
,ExponentialBackoffDelayStrategyWithJitter
,FixedTimeDelayStrategy
public interface DelayStrategy
Interface that defines how long to wait between poll attempts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
nextDelay(WaiterConfiguration.WaitContext context)
Returns the amount of time to wait (in millis) before making another poll attempt.
-
-
-
Method Detail
-
nextDelay
long nextDelay(WaiterConfiguration.WaitContext context)
Returns the amount of time to wait (in millis) before making another poll attempt.- Parameters:
context
- The context after the last attempt.- Returns:
- The amount of time to wait, in millis.
-
-