类 ExponentialAverageRetryStatistics.ExponentialAverage

java.lang.Object
infra.retry.stats.ExponentialAverageRetryStatistics.ExponentialAverage
封闭类:
ExponentialAverageRetryStatistics

private static class ExponentialAverageRetryStatistics.ExponentialAverage extends Object
  • 字段详细资料

    • alpha

      private final double alpha
    • lastTime

      private volatile long lastTime
    • value

      private volatile double value
  • 构造器详细资料

    • ExponentialAverage

      public ExponentialAverage(long window)
  • 方法详细资料

    • increment

      public void increment()
    • getValue

      public double getValue()