Class RetryImpl.RetryMetrics

java.lang.Object
io.github.resilience4j.retry.internal.RetryImpl.RetryMetrics
All Implemented Interfaces:
Retry.Metrics
Enclosing class:
RetryImpl<T>

public final class RetryImpl.RetryMetrics extends Object implements Retry.Metrics
  • Method Details

    • getNumberOfSuccessfulCallsWithoutRetryAttempt

      public long getNumberOfSuccessfulCallsWithoutRetryAttempt()
      Description copied from interface: Retry.Metrics
      Returns the number of successful calls without a retry attempt.
      Specified by:
      getNumberOfSuccessfulCallsWithoutRetryAttempt in interface Retry.Metrics
      Returns:
      the number of successful calls without a retry attempt
    • getNumberOfFailedCallsWithoutRetryAttempt

      public long getNumberOfFailedCallsWithoutRetryAttempt()
      Description copied from interface: Retry.Metrics
      Returns the number of failed calls without a retry attempt.
      Specified by:
      getNumberOfFailedCallsWithoutRetryAttempt in interface Retry.Metrics
      Returns:
      the number of failed calls without a retry attempt
    • getNumberOfSuccessfulCallsWithRetryAttempt

      public long getNumberOfSuccessfulCallsWithRetryAttempt()
      Description copied from interface: Retry.Metrics
      Returns the number of successful calls after a retry attempt.
      Specified by:
      getNumberOfSuccessfulCallsWithRetryAttempt in interface Retry.Metrics
      Returns:
      the number of successful calls after a retry attempt
    • getNumberOfFailedCallsWithRetryAttempt

      public long getNumberOfFailedCallsWithRetryAttempt()
      Description copied from interface: Retry.Metrics
      Returns the number of failed calls after all retry attempts.
      Specified by:
      getNumberOfFailedCallsWithRetryAttempt in interface Retry.Metrics
      Returns:
      the number of failed calls after all retry attempts