Package io.github.resilience4j.retry
Interface Retry.Metrics
-
- All Known Implementing Classes:
RetryImpl.RetryMetrics
- Enclosing interface:
- Retry
public static interface Retry.Metrics
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetNumberOfFailedCallsWithoutRetryAttempt()Returns the number of failed calls without a retry attempt.longgetNumberOfFailedCallsWithRetryAttempt()Returns the number of failed calls after all retry attempts.longgetNumberOfSuccessfulCallsWithoutRetryAttempt()Returns the number of successful calls without a retry attempt.longgetNumberOfSuccessfulCallsWithRetryAttempt()Returns the number of successful calls after a retry attempt.
-
-
-
Method Detail
-
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
-
-