Class RetryableParameters

java.lang.Object
fr.gouv.vitam.common.retryable.RetryableParameters

public class RetryableParameters extends Object
  • Constructor Details

    • RetryableParameters

      public RetryableParameters(int nbRetry, int firstAttemptWaitingTime, int waitingTime, int randomRangeSleep, TimeUnit timeUnit, VitamLogLevel level)
    • RetryableParameters

      public RetryableParameters(int nbRetry, int firstAttemptWaitingTime, int waitingTime, int randomRangeSleep, TimeUnit timeUnit)
  • Method Details

    • getNbRetry

      public int getNbRetry()
    • getFirstAttemptWaitingTime

      public int getFirstAttemptWaitingTime()
    • getWaitingTime

      public int getWaitingTime()
    • getRandomRangeSleep

      public int getRandomRangeSleep()
    • getTimeUnit

      public TimeUnit getTimeUnit()
    • getLog

      public Consumer<String> getLog()