public class Waiters extends Object
Modifier and Type | Field and Description |
---|---|
static DelayStrategy |
DEFAULT_POLLING_DELAY_STRATEGY
Default polling delay strategy is to use exponential backoff with a max of 30 seconds between
attempts.
|
static TerminationStrategy |
DEFAULT_POLLING_TERMINATION_STRATEGY
Default polling termination strategy is to wait up to 20 mins.
|
static BmcGenericWaiter |
DEFAULT_POLLING_WAITER
The default OCI polling waiter that will be used.
|
Constructor and Description |
---|
Waiters() |
Modifier and Type | Method and Description |
---|---|
static BmcGenericWaiter |
newWaiter(TerminationStrategy terminationStrategy,
DelayStrategy delayStrategy)
Creates a new waiter using the given strategies.
|
public static final DelayStrategy DEFAULT_POLLING_DELAY_STRATEGY
Default polling delay strategy is to use exponential backoff with a max of 30 seconds between attempts.
public static final TerminationStrategy DEFAULT_POLLING_TERMINATION_STRATEGY
Default polling termination strategy is to wait up to 20 mins.
public static final BmcGenericWaiter DEFAULT_POLLING_WAITER
The default OCI polling waiter that will be used. Configured using DEFAULT_POLLING_TERMINATION_STRATEGY
and DEFAULT_POLLING_DELAY_STRATEGY
.
public static BmcGenericWaiter newWaiter(@Nullable TerminationStrategy terminationStrategy, @Nullable DelayStrategy delayStrategy)
Creates a new waiter using the given strategies. If any of the args are null, the default strategy listed in this class will be used.
terminationStrategy
- The termination strategy.delayStrategy
- The delay strategy.Copyright © 2016–2024. All rights reserved.