Interface DefaultAwareRetryStrategy

All Superinterfaces:
RetryStrategy
All Known Implementing Classes:
BaseRetryStrategy, DefaultAdaptiveRetryStrategy, DefaultLegacyRetryStrategy, DefaultStandardRetryStrategy

public interface DefaultAwareRetryStrategy extends RetryStrategy
Identify a RetryStrategy that has the capacity to work with sets of default retry predicates.

Implementation notes: this class should've been outside internal package, but we can't fix it due to backwards compatibility reasons.

  • Method Details

    • addDefaults

      DefaultAwareRetryStrategy addDefaults(RetryStrategyDefaults retryStrategyDefaults)
      Add the specified defaults to this retry strategy
      Parameters:
      retryStrategyDefaults - the defaults to add to this strategy
      Returns:
      a new retry strategy containing the specified defaults.