Interface RetryStrategyDefaults


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

    Modifier and Type
    Method
    Description
    void
    applyDefaults(RetryStrategy.Builder<?,?> retryStrategyBuilder)
    Apply this set of defaults to the provided retry strategy builder.
     
  • Method Details

    • 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