Class RetrySimulation.SleepSequence

java.lang.Object
org.springframework.retry.support.RetrySimulation.SleepSequence
Enclosing class:
RetrySimulation

public static class RetrySimulation.SleepSequence extends Object
  • Constructor Details

    • SleepSequence

      public SleepSequence(List<Long> sleeps)
  • Method Details

    • getSleeps

      public List<Long> getSleeps()
    • getLongestSleep

      public long getLongestSleep()
      Returns:
      the longest individual sleep within this sequence
    • getTotalSleep

      public long getTotalSleep()
    • toString

      public String toString()
      Overrides:
      toString in class Object