类 ExponentialBackOff.ExponentialBackOffExecution

java.lang.Object
cn.taketoday.util.backoff.ExponentialBackOff.ExponentialBackOffExecution
所有已实现的接口:
BackOffExecution
封闭类:
ExponentialBackOff

private class ExponentialBackOff.ExponentialBackOffExecution extends Object implements BackOffExecution
  • 字段详细资料

    • currentInterval

      private long currentInterval
    • currentElapsedTime

      private long currentElapsedTime
    • attempts

      private int attempts
  • 构造器详细资料

    • ExponentialBackOffExecution

      private ExponentialBackOffExecution()
  • 方法详细资料

    • nextBackOff

      public long nextBackOff()
      从接口复制的说明: BackOffExecution
      Return the number of milliseconds to wait before retrying the operation or BackOffExecution.STOP (-1L) to indicate that no further attempt should be made for the operation.
      指定者:
      nextBackOff 在接口中 BackOffExecution
    • computeNextInterval

      private long computeNextInterval()
    • multiplyInterval

      private long multiplyInterval(long maxInterval)
    • toString

      public String toString()
      覆盖:
      toString 在类中 Object