Class RetryImpl.RetryMetrics
- java.lang.Object
-
- io.github.resilience4j.retry.internal.RetryImpl.RetryMetrics
-
- All Implemented Interfaces:
Retry.Metrics
public final class RetryImpl.RetryMetrics extends java.lang.Object implements Retry.Metrics
-
-
Method Summary
All Methods Instance Methods Concrete 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
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
-
-