A B C D E F I M R S T U
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- acquireInitialToken(AcquireInitialTokenRequest) - Method in interface software.amazon.awssdk.retries.api.RetryStrategy
-
Invoked before the first request attempt.
- AcquireInitialTokenRequest - Interface in software.amazon.awssdk.retries.api
-
Encapsulates the abstract scope to start the attempts about to be executed using a retry strategy.
- AcquireInitialTokenRequestImpl - Class in software.amazon.awssdk.retries.api.internal
-
Implementation of the
AcquireInitialTokenRequestinterface. - AcquireInitialTokenResponse - Interface in software.amazon.awssdk.retries.api
-
Encapsulates the response from the
RetryStrategyto the request to start the attempts to be executed. - AcquireInitialTokenResponseImpl - Class in software.amazon.awssdk.retries.api.internal
-
Implementation of the
AcquireInitialTokenResponseinterface.
B
- backoffStrategy(BackoffStrategy) - Method in interface software.amazon.awssdk.retries.api.RetryStrategy.Builder
-
Configure the backoff strategy used by the retry strategy.
- BackoffStrategy - Interface in software.amazon.awssdk.retries.api
-
Determines how long to wait before each execution attempt.
- build() - Method in class software.amazon.awssdk.retries.api.internal.RefreshRetryTokenRequestImpl.Builder
- build() - Method in interface software.amazon.awssdk.retries.api.RefreshRetryTokenRequest.Builder
-
Builds and returns a new instance of .
- build() - Method in interface software.amazon.awssdk.retries.api.RetryStrategy.Builder
-
Build a new
RetryStrategywith the current configuration on this builder. - builder() - Static method in class software.amazon.awssdk.retries.api.internal.RefreshRetryTokenRequestImpl
-
Returns a new builder to create a new instance of
RefreshRetryTokenRequest - builder() - Static method in interface software.amazon.awssdk.retries.api.RefreshRetryTokenRequest
-
Returns a new builder to configure the
RefreshRetryTokenRequestinstance.
C
- computeDelay(int) - Method in interface software.amazon.awssdk.retries.api.BackoffStrategy
-
Compute the amount of time to wait before the provided attempt number is executed.
- computeDelay(int) - Method in class software.amazon.awssdk.retries.api.internal.backoff.ExponentialDelayWithHalfJitter
- computeDelay(int) - Method in class software.amazon.awssdk.retries.api.internal.backoff.ExponentialDelayWithJitter
- computeDelay(int) - Method in class software.amazon.awssdk.retries.api.internal.backoff.ExponentialDelayWithoutJitter
- computeDelay(int) - Method in class software.amazon.awssdk.retries.api.internal.backoff.FixedDelayWithJitter
- computeDelay(int) - Method in class software.amazon.awssdk.retries.api.internal.backoff.FixedDelayWithoutJitter
- computeDelay(int) - Method in class software.amazon.awssdk.retries.api.internal.backoff.Immediately
- create(String) - Static method in interface software.amazon.awssdk.retries.api.AcquireInitialTokenRequest
-
Creates a new
AcquireInitialTokenRequestinstance with the given scope. - create(String) - Static method in class software.amazon.awssdk.retries.api.internal.AcquireInitialTokenRequestImpl
-
Creates a new
AcquireInitialTokenRequestImplinstance with the given scope. - create(RetryToken) - Static method in class software.amazon.awssdk.retries.api.internal.RecordSuccessRequestImpl
- create(RetryToken) - Static method in class software.amazon.awssdk.retries.api.internal.RecordSuccessResponseImpl
-
Creates a new
RecordSuccessResponseImplwith the given token and responses. - create(RetryToken) - Static method in interface software.amazon.awssdk.retries.api.RecordSuccessRequest
-
Creates a new
RecordSuccessRequestinstance with the given token. - create(RetryToken) - Static method in interface software.amazon.awssdk.retries.api.RecordSuccessResponse
-
Creates a new
RecordSuccessResponseImplwith the given token. - create(RetryToken, Duration) - Static method in interface software.amazon.awssdk.retries.api.AcquireInitialTokenResponse
-
Creates a new
AcquireInitialTokenRequestinstance with the given scope. - create(RetryToken, Duration) - Static method in class software.amazon.awssdk.retries.api.internal.AcquireInitialTokenResponseImpl
-
Creates a new
AcquireInitialTokenResponseImplinstance with the given token and suggested delay values. - create(RetryToken, Duration) - Static method in class software.amazon.awssdk.retries.api.internal.RefreshRetryTokenResponseImpl
-
Creates a new
RefreshRetryTokenResponsewith the given token and delay. - create(RetryToken, Duration) - Static method in interface software.amazon.awssdk.retries.api.RefreshRetryTokenResponse
-
Creates a new
RefreshRetryTokenResponsewith the given token and delay.
D
- delay() - Method in interface software.amazon.awssdk.retries.api.AcquireInitialTokenResponse
-
The amount of time to wait before performing the first attempt.
- delay() - Method in class software.amazon.awssdk.retries.api.internal.AcquireInitialTokenResponseImpl
- delay() - Method in class software.amazon.awssdk.retries.api.internal.RefreshRetryTokenResponseImpl
- delay() - Method in interface software.amazon.awssdk.retries.api.RefreshRetryTokenResponse
-
The amount of time to wait before performing the next attempt.
E
- exponentialDelay(Duration, Duration) - Static method in interface software.amazon.awssdk.retries.api.BackoffStrategy
-
Wait for a random period of time between 0ms and an exponentially increasing amount of time between each subsequent attempt of the same call.
- exponentialDelayHalfJitter(Duration, Duration) - Static method in interface software.amazon.awssdk.retries.api.BackoffStrategy
-
Wait for a random period of time with an upper bound of exponentially increasing amount of time between each subsequent attempt of the same call and a lower bound of half the amount of the computed exponential delay.
- ExponentialDelayWithHalfJitter - Class in software.amazon.awssdk.retries.api.internal.backoff
-
Strategy that waits for a random period of time between a lower bound x and an exponentially increasing amount of time between each subsequent attempt of the same call.
- ExponentialDelayWithHalfJitter(Supplier<Random>, Duration, Duration) - Constructor for class software.amazon.awssdk.retries.api.internal.backoff.ExponentialDelayWithHalfJitter
- ExponentialDelayWithJitter - Class in software.amazon.awssdk.retries.api.internal.backoff
-
Strategy that waits for a random period of time between 0ms and an exponentially increasing amount of time between each subsequent attempt of the same call.
- ExponentialDelayWithJitter(Supplier<Random>, Duration, Duration) - Constructor for class software.amazon.awssdk.retries.api.internal.backoff.ExponentialDelayWithJitter
- exponentialDelayWithoutJitter(Duration, Duration) - Static method in interface software.amazon.awssdk.retries.api.BackoffStrategy
-
Wait for an exponentially increasing amount of time between each subsequent attempt of the same call.
- ExponentialDelayWithoutJitter - Class in software.amazon.awssdk.retries.api.internal.backoff
-
Strategy that waits for an exponentially increasing amount of time between each subsequent attempt of the same call.
- ExponentialDelayWithoutJitter(Duration, Duration) - Constructor for class software.amazon.awssdk.retries.api.internal.backoff.ExponentialDelayWithoutJitter
F
- failure() - Method in class software.amazon.awssdk.retries.api.internal.RefreshRetryTokenRequestImpl
- failure() - Method in interface software.amazon.awssdk.retries.api.RefreshRetryTokenRequest
-
The cause of the last attempt failure.
- failure(Throwable) - Method in class software.amazon.awssdk.retries.api.internal.RefreshRetryTokenRequestImpl.Builder
- failure(Throwable) - Method in interface software.amazon.awssdk.retries.api.RefreshRetryTokenRequest.Builder
-
Configures the latest caught exception.
- fixedDelay(Duration) - Static method in interface software.amazon.awssdk.retries.api.BackoffStrategy
-
Wait for a random period of time between 0ms and the provided delay.
- FixedDelayWithJitter - Class in software.amazon.awssdk.retries.api.internal.backoff
-
Strategy that waits for a random period of time between 0ms and the provided delay.
- FixedDelayWithJitter(Supplier<Random>, Duration) - Constructor for class software.amazon.awssdk.retries.api.internal.backoff.FixedDelayWithJitter
- fixedDelayWithoutJitter(Duration) - Static method in interface software.amazon.awssdk.retries.api.BackoffStrategy
-
Wait for a period of time equal to the provided delay.
- FixedDelayWithoutJitter - Class in software.amazon.awssdk.retries.api.internal.backoff
-
Strategy that waits for a period of time equal to the provided delay.
- FixedDelayWithoutJitter(Duration) - Constructor for class software.amazon.awssdk.retries.api.internal.backoff.FixedDelayWithoutJitter
I
- Immediately - Class in software.amazon.awssdk.retries.api.internal.backoff
-
Strategy that do not back off: retry immediately.
- Immediately() - Constructor for class software.amazon.awssdk.retries.api.internal.backoff.Immediately
M
- maxAttempts() - Method in interface software.amazon.awssdk.retries.api.RetryStrategy
-
Returns the maximum numbers attempts that this retry policy will allow.
- maxAttempts(int) - Method in interface software.amazon.awssdk.retries.api.RetryStrategy.Builder
-
Configure the maximum number of attempts used by the retry strategy.
R
- recordSuccess(RecordSuccessRequest) - Method in interface software.amazon.awssdk.retries.api.RetryStrategy
-
Invoked after an attempt succeeds.
- RecordSuccessRequest - Interface in software.amazon.awssdk.retries.api
-
Request that the calling code makes to the
RetryStrategyusingRetryStrategy.recordSuccess(RecordSuccessRequest)to notify that the attempted execution succeeded. - RecordSuccessRequestImpl - Class in software.amazon.awssdk.retries.api.internal
-
Implementation of the
RecordSuccessRequestinterfface - RecordSuccessResponse - Interface in software.amazon.awssdk.retries.api
-
Response given to the calling code by the
RetryStrategyafter callingRetryStrategy.recordSuccess(RecordSuccessRequest). - RecordSuccessResponseImpl - Class in software.amazon.awssdk.retries.api.internal
-
Implementation of the
RecordSuccessResponseinterface. - refreshRetryToken(RefreshRetryTokenRequest) - Method in interface software.amazon.awssdk.retries.api.RetryStrategy
-
Invoked before each subsequent (non-first) request attempt.
- RefreshRetryTokenRequest - Interface in software.amazon.awssdk.retries.api
-
Request that the calling code makes to the
RetryStrategyusingRetryStrategy.refreshRetryToken(RefreshRetryTokenRequest)to notify that the attempted execution failed and theRetryTokenneeds to be refreshed. - RefreshRetryTokenRequest.Builder - Interface in software.amazon.awssdk.retries.api
- RefreshRetryTokenRequestImpl - Class in software.amazon.awssdk.retries.api.internal
-
Implementation of the
RefreshRetryTokenRequestinterface. - RefreshRetryTokenRequestImpl.Builder - Class in software.amazon.awssdk.retries.api.internal
- RefreshRetryTokenResponse - Interface in software.amazon.awssdk.retries.api
-
Response from the
RetryStrategyafter callingRetryStrategy.refreshRetryToken(RefreshRetryTokenRequest). - RefreshRetryTokenResponseImpl - Class in software.amazon.awssdk.retries.api.internal
-
Implementation for the
RefreshRetryTokenResponseinterface. - retryImmediately() - Static method in interface software.amazon.awssdk.retries.api.BackoffStrategy
-
Do not back off: retry immediately.
- retryOnException(Class<? extends Throwable>) - Method in interface software.amazon.awssdk.retries.api.RetryStrategy.Builder
-
Configure the strategy to retry when a failure exception class is equal to the provided class.
- retryOnException(Predicate<Throwable>) - Method in interface software.amazon.awssdk.retries.api.RetryStrategy.Builder
-
Configure the strategy to retry when the provided predicate returns true, given a failure exception.
- retryOnExceptionInstanceOf(Class<? extends Throwable>) - Method in interface software.amazon.awssdk.retries.api.RetryStrategy.Builder
-
Configure the strategy to retry when a failure exception class is an instance of the provided class (includes subtypes).
- retryOnExceptionOrCause(Class<? extends Throwable>) - Method in interface software.amazon.awssdk.retries.api.RetryStrategy.Builder
-
Configure the strategy to retry when a failure exception or one of its cause classes is equal to the provided class.
- retryOnExceptionOrCauseInstanceOf(Class<? extends Throwable>) - Method in interface software.amazon.awssdk.retries.api.RetryStrategy.Builder
-
Configure the strategy to retry when a failure exception or one of its cause classes is an instance of the provided class (includes subtypes).
- retryOnRootCause(Class<? extends Throwable>) - Method in interface software.amazon.awssdk.retries.api.RetryStrategy.Builder
-
Configure the strategy to retry the root cause of a failure (the final cause) a failure exception is equal to the provided class.
- retryOnRootCauseInstanceOf(Class<? extends Throwable>) - Method in interface software.amazon.awssdk.retries.api.RetryStrategy.Builder
-
Configure the strategy to retry the root cause of a failure (the final cause) a failure exception is an instance of to the provided class (includes subtypes).
- RetryStrategy - Interface in software.amazon.awssdk.retries.api
-
A strategy used by an SDK to determine when something should be retried.
- RetryStrategy.Builder<B extends RetryStrategy.Builder<B,T>,T extends RetryStrategy> - Interface in software.amazon.awssdk.retries.api
-
Builder to create immutable instances of
RetryStrategy. - RetryToken - Interface in software.amazon.awssdk.retries.api
-
An opaque token representing an in-progress execution.
S
- scope() - Method in interface software.amazon.awssdk.retries.api.AcquireInitialTokenRequest
-
An abstract scope for the attempts about to be executed.
- scope() - Method in class software.amazon.awssdk.retries.api.internal.AcquireInitialTokenRequestImpl
- software.amazon.awssdk.retries.api - package software.amazon.awssdk.retries.api
- software.amazon.awssdk.retries.api.internal - package software.amazon.awssdk.retries.api.internal
- software.amazon.awssdk.retries.api.internal.backoff - package software.amazon.awssdk.retries.api.internal.backoff
- suggestedDelay() - Method in class software.amazon.awssdk.retries.api.internal.RefreshRetryTokenRequestImpl
- suggestedDelay() - Method in interface software.amazon.awssdk.retries.api.RefreshRetryTokenRequest
-
A suggestion of how long to wait from the last attempt failure.
- suggestedDelay(Duration) - Method in class software.amazon.awssdk.retries.api.internal.RefreshRetryTokenRequestImpl.Builder
- suggestedDelay(Duration) - Method in interface software.amazon.awssdk.retries.api.RefreshRetryTokenRequest.Builder
-
Configures the suggested delay to used when refreshing the token.
T
- throttlingBackoffStrategy(BackoffStrategy) - Method in interface software.amazon.awssdk.retries.api.RetryStrategy.Builder
-
Configure the backoff strategy used for throttling exceptions by this strategy.
- toBuilder() - Method in class software.amazon.awssdk.retries.api.internal.RefreshRetryTokenRequestImpl
- toBuilder() - Method in interface software.amazon.awssdk.retries.api.RetryStrategy
-
Create a new
RetryStrategy.Builderwith the current configuration. - token() - Method in interface software.amazon.awssdk.retries.api.AcquireInitialTokenResponse
-
A
RetryTokenacquired by this invocation, used in subsequentRetryStrategy.refreshRetryToken(software.amazon.awssdk.retries.api.RefreshRetryTokenRequest)orRetryStrategy.recordSuccess(software.amazon.awssdk.retries.api.RecordSuccessRequest)calls. - token() - Method in class software.amazon.awssdk.retries.api.internal.AcquireInitialTokenResponseImpl
- token() - Method in class software.amazon.awssdk.retries.api.internal.RecordSuccessRequestImpl
- token() - Method in class software.amazon.awssdk.retries.api.internal.RecordSuccessResponseImpl
- token() - Method in class software.amazon.awssdk.retries.api.internal.RefreshRetryTokenRequestImpl
- token() - Method in class software.amazon.awssdk.retries.api.internal.RefreshRetryTokenResponseImpl
- token() - Method in interface software.amazon.awssdk.retries.api.RecordSuccessRequest
- token() - Method in interface software.amazon.awssdk.retries.api.RecordSuccessResponse
- token() - Method in interface software.amazon.awssdk.retries.api.RefreshRetryTokenRequest
- token() - Method in interface software.amazon.awssdk.retries.api.RefreshRetryTokenResponse
-
A
RetryTokenacquired by this invocation, used in subsequentRetryStrategy.refreshRetryToken(software.amazon.awssdk.retries.api.RefreshRetryTokenRequest)orRetryStrategy.recordSuccess(software.amazon.awssdk.retries.api.RecordSuccessRequest)calls. - token() - Method in exception software.amazon.awssdk.retries.api.TokenAcquisitionFailedException
-
Returns the retry token that tracked the execution.
- token(RetryToken) - Method in class software.amazon.awssdk.retries.api.internal.RefreshRetryTokenRequestImpl.Builder
- token(RetryToken) - Method in interface software.amazon.awssdk.retries.api.RefreshRetryTokenRequest.Builder
-
Configures the
RetryTokento be refreshed. - TokenAcquisitionFailedException - Exception in software.amazon.awssdk.retries.api
-
Exception thrown by
RetryStrategywhen a new token cannot be acquired. - TokenAcquisitionFailedException(String) - Constructor for exception software.amazon.awssdk.retries.api.TokenAcquisitionFailedException
-
Exception construction accepting message with no root cause.
- TokenAcquisitionFailedException(String, Throwable) - Constructor for exception software.amazon.awssdk.retries.api.TokenAcquisitionFailedException
-
Exception constructor accepting message and a root cause.
- TokenAcquisitionFailedException(String, RetryToken, Throwable) - Constructor for exception software.amazon.awssdk.retries.api.TokenAcquisitionFailedException
-
Exception constructor accepting message, retry token, and a root cause.
- toString() - Method in class software.amazon.awssdk.retries.api.internal.backoff.ExponentialDelayWithHalfJitter
- toString() - Method in class software.amazon.awssdk.retries.api.internal.backoff.ExponentialDelayWithJitter
- toString() - Method in class software.amazon.awssdk.retries.api.internal.backoff.ExponentialDelayWithoutJitter
- toString() - Method in class software.amazon.awssdk.retries.api.internal.backoff.FixedDelayWithJitter
- toString() - Method in class software.amazon.awssdk.retries.api.internal.backoff.FixedDelayWithoutJitter
- toString() - Method in class software.amazon.awssdk.retries.api.internal.backoff.Immediately
- treatAsThrottling(Predicate<Throwable>) - Method in interface software.amazon.awssdk.retries.api.RetryStrategy.Builder
-
Configure a predicate that determines whether a retryable exception is a throttling exception.
U
- useClientDefaults() - Method in interface software.amazon.awssdk.retries.api.RetryStrategy
-
Returns whether the retry strategy uses default retry predicates.
- useClientDefaults(boolean) - Method in interface software.amazon.awssdk.retries.api.RetryStrategy.Builder
-
Configure whether the default predicates should be used, or not.
All Classes All Packages