Package dev.failsafe

Interface RetryPolicy<R>

    • Method Detail

      • builder

        static <R> RetryPolicyBuilder<R> builder()
        Creates a RetryPolicyBuilder that by default will build a RetryPolicy that allows 3 execution attempts max with no delay, unless configured otherwise.
        See Also:
        ofDefaults()
      • ofDefaults

        static <R> RetryPolicy<R> ofDefaults()
        Creates a RetryPolicy that allows 3 execution attempts max with no delay. To configure additional options on a RetryPolicy, use builder() instead.
        See Also:
        builder()