Class SimpleRetryPolicy


  • public class SimpleRetryPolicy
    extends Object
    • Constructor Detail

      • SimpleRetryPolicy

        public SimpleRetryPolicy​(int maxRetries,
                                 int retryDelayMillis,
                                 double exponentialBackoffFactor)
        Parameters:
        maxRetries - maximum number of retries
        retryDelayMillis - delay to wait after a failed attempt
        exponentialBackoffFactor - factor by which the retry delay is increased after each failed attempt