Package io.github.resilience4j.retry
Interface Retry.Metrics
- All Known Implementing Classes:
RetryImpl.RetryMetrics
- Enclosing interface:
- Retry
public static interface Retry.Metrics
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the number of failed calls without a retry attempt.longReturns the number of failed calls after all retry attempts.longReturns the number of successful calls without a retry attempt.longReturns the number of successful calls after a retry attempt.
-
Method Details
-
getNumberOfSuccessfulCallsWithoutRetryAttempt
long getNumberOfSuccessfulCallsWithoutRetryAttempt()Returns the number of successful calls without a retry attempt.- Returns:
- the number of successful calls without a retry attempt
-
getNumberOfFailedCallsWithoutRetryAttempt
long getNumberOfFailedCallsWithoutRetryAttempt()Returns the number of failed calls without a retry attempt.- Returns:
- the number of failed calls without a retry attempt
-
getNumberOfSuccessfulCallsWithRetryAttempt
long getNumberOfSuccessfulCallsWithRetryAttempt()Returns the number of successful calls after a retry attempt.- Returns:
- the number of successful calls after a retry attempt
-
getNumberOfFailedCallsWithRetryAttempt
long getNumberOfFailedCallsWithRetryAttempt()Returns the number of failed calls after all retry attempts.- Returns:
- the number of failed calls after all retry attempts
-