Class RetryableParameters


  • public class RetryableParameters
    extends java.lang.Object
    • Constructor Detail

      • RetryableParameters

        public RetryableParameters​(int nbRetry,
                                   int firstAttemptWaitingTime,
                                   int waitingTime,
                                   int randomRangeSleep,
                                   java.util.concurrent.TimeUnit timeUnit,
                                   VitamLogLevel level)
      • RetryableParameters

        public RetryableParameters​(int nbRetry,
                                   int firstAttemptWaitingTime,
                                   int waitingTime,
                                   int randomRangeSleep,
                                   java.util.concurrent.TimeUnit timeUnit)
    • Method Detail

      • getNbRetry

        public int getNbRetry()
      • getFirstAttemptWaitingTime

        public int getFirstAttemptWaitingTime()
      • getWaitingTime

        public int getWaitingTime()
      • getRandomRangeSleep

        public int getRandomRangeSleep()
      • getTimeUnit

        public java.util.concurrent.TimeUnit getTimeUnit()
      • getLog

        public java.util.function.Consumer<java.lang.String> getLog()