Top Description Methods
com.oracle.bmc.waiter

public Interface DelayStrategy

Known Direct Implementers
com.oracle.bmc.waiter.ExponentialBackoffDelayStrategy, com.oracle.bmc.waiter.FixedTimeDelayStrategy
Imports
com.oracle.bmc.waiter.WaiterConfiguration.WaitContext

Interface that defines how long to wait between poll attempts.

Method Summary

Modifier and TypeMethod and Description
public long

Returns:

The amount of time to wait, in millis.
nextDelay
(WaiterConfiguration.WaitContext
The context after the last attempt.
context
)

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

Method Detail

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

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.