Class RetryManager

java.lang.Object
com.linkedin.venice.meta.RetryManager

public class RetryManager extends Object
  • Constructor Details

    • RetryManager

      public RetryManager(io.tehuti.metrics.MetricsRepository metricsRepository, String metricNamePrefix, long enforcementWindowInMs, double retryBudgetInPercentDecimal, Clock clock, ScheduledExecutorService scheduler)
    • RetryManager

      public RetryManager(io.tehuti.metrics.MetricsRepository metricsRepository, String metricNamePrefix, long enforcementWindowInMs, double retryBudgetInPercentDecimal, ScheduledExecutorService scheduler)
  • Method Details

    • recordRequest

      public void recordRequest()
    • recordRequests

      public void recordRequests(int requests)
    • isRetryAllowed

      public boolean isRetryAllowed()
    • isRetryAllowed

      public boolean isRetryAllowed(int numberOfRetries)
    • getRetryTokenBucket

      public TokenBucket getRetryTokenBucket()