Class RetryImpl.RetryMetrics
java.lang.Object
io.github.resilience4j.retry.internal.RetryImpl.RetryMetrics
- All Implemented Interfaces:
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
public long getNumberOfSuccessfulCallsWithoutRetryAttempt()Description copied from interface:Retry.MetricsReturns the number of successful calls without a retry attempt.- Specified by:
getNumberOfSuccessfulCallsWithoutRetryAttemptin interfaceRetry.Metrics- Returns:
- the number of successful calls without a retry attempt
-
getNumberOfFailedCallsWithoutRetryAttempt
public long getNumberOfFailedCallsWithoutRetryAttempt()Description copied from interface:Retry.MetricsReturns the number of failed calls without a retry attempt.- Specified by:
getNumberOfFailedCallsWithoutRetryAttemptin interfaceRetry.Metrics- Returns:
- the number of failed calls without a retry attempt
-
getNumberOfSuccessfulCallsWithRetryAttempt
public long getNumberOfSuccessfulCallsWithRetryAttempt()Description copied from interface:Retry.MetricsReturns the number of successful calls after a retry attempt.- Specified by:
getNumberOfSuccessfulCallsWithRetryAttemptin interfaceRetry.Metrics- Returns:
- the number of successful calls after a retry attempt
-
getNumberOfFailedCallsWithRetryAttempt
public long getNumberOfFailedCallsWithRetryAttempt()Description copied from interface:Retry.MetricsReturns the number of failed calls after all retry attempts.- Specified by:
getNumberOfFailedCallsWithRetryAttemptin interfaceRetry.Metrics- Returns:
- the number of failed calls after all retry attempts
-