Class RetrySupport


  • public class RetrySupport
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      RetrySupport()  
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      <T> T retry​(java.util.function.Supplier<T> fn, int maxRetries, long retryBackoffMillis, boolean exponential)
      <T> T retry​(java.util.function.Supplier<T> fn, int maxRetries, java.time.Duration retryBackoff, boolean exponential)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RetrySupport

        public RetrySupport()
    • Method Detail

      • retry

        @Deprecated
        public <T> T retry​(java.util.function.Supplier<T> fn,
                           int maxRetries,
                           long retryBackoffMillis,
                           boolean exponential)
      • retry

        public <T> T retry​(java.util.function.Supplier<T> fn,
                           int maxRetries,
                           java.time.Duration retryBackoff,
                           boolean exponential)