Class DefaultRetryStatisticsFactory

java.lang.Object
org.springframework.retry.stats.DefaultRetryStatisticsFactory
All Implemented Interfaces:
RetryStatisticsFactory

public class DefaultRetryStatisticsFactory extends Object implements RetryStatisticsFactory
Author:
Dave Syer
  • Constructor Details

    • DefaultRetryStatisticsFactory

      public DefaultRetryStatisticsFactory()
  • Method Details

    • setWindow

      public void setWindow(long window)
      Window in milliseconds for exponential decay factor in rolling averages.
      Parameters:
      window - the window to set
    • create

      public MutableRetryStatistics create(String name)
      Specified by:
      create in interface RetryStatisticsFactory