Top Description Constructors Methods
com.oracle.bmc.waiter

public Class ExponentialBackoffDelayStrategyWithJitter

extends ExponentialBackoffDelayStrategy
Class Inheritance

Delay strategy that increases the wait time exponentially until a max time has been reached.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public long
nextDelay(WaiterConfiguration.WaitContext
The context after the last attempt.
context
)

Overrides com.oracle.bmc.waiter.ExponentialBackoffDelayStrategy.nextDelay.

Implements com.oracle.bmc.waiter.DelayStrategy.nextDelay.

Returns the amount of time to wait (in millis) before making another poll attempt.

Inherited from com.oracle.bmc.waiter.ExponentialBackoffDelayStrategy:
toString

Constructor Detail

ExponentialBackoffDelayStrategyWithJitterback to summary
public ExponentialBackoffDelayStrategyWithJitter(long maxDelayInMillis)

Method Detail

nextDelayback to summary
public long nextDelay(WaiterConfiguration.WaitContext context)

Overrides com.oracle.bmc.waiter.ExponentialBackoffDelayStrategy.nextDelay.

Implements com.oracle.bmc.waiter.DelayStrategy.nextDelay.

Doc from com.oracle.bmc.waiter.DelayStrategy.nextDelay.

Returns the amount of time to wait (in millis) before making another poll attempt.

Parameters
context:WaiterConfiguration.WaitContext

The context after the last attempt.

Returns:long

The amount of time to wait, in millis.

Annotations
@Override