Interface RetryStrategyDefaults
-
@SdkProtectedApi public interface RetryStrategyDefaults
The set of retry predicates that are by default added to a retry strategy.Implementation notes: this class should've been outside internal package, but we can't fix it due to backwards compatibility reasons.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplyDefaults(RetryStrategy.Builder<?,?> retryStrategyBuilder)Apply this set of defaults to the provided retry strategy builder.Stringname()
-
-
-
Method Detail
-
name
String name()
- Returns:
- The unique name that identifies this set of predicates
-
applyDefaults
void applyDefaults(RetryStrategy.Builder<?,?> retryStrategyBuilder)
Apply this set of defaults to the provided retry strategy builder.- Parameters:
retryStrategyBuilder- the retry strategy to apply the defaults to
-
-