public static interface CircuitBreaker.Metrics
| Modifier and Type | Method and Description |
|---|---|
float |
getFailureRate()
Returns the current failure rate in percentage.
|
int |
getNumberOfBufferedCalls()
Returns the current total number of buffered calls in the ring buffer.
|
int |
getNumberOfFailedCalls()
Returns the current number of failed buffered calls in the ring buffer.
|
long |
getNumberOfNotPermittedCalls()
Returns the current number of not permitted calls, when the state is OPEN.
|
int |
getNumberOfSlowCalls()
Returns the current total number of calls which were slower than a certain threshold.
|
int |
getNumberOfSlowFailedCalls()
Returns the current number of failed calls which were slower than a certain threshold.
|
int |
getNumberOfSlowSuccessfulCalls()
Returns the current number of successful calls which were slower than a certain
threshold.
|
int |
getNumberOfSuccessfulCalls()
Returns the current number of successful buffered calls in the ring buffer.
|
float |
getSlowCallRate()
Returns the current percentage of calls which were slower than a certain threshold.
|
float getFailureRate()
float getSlowCallRate()
int getNumberOfSlowCalls()
int getNumberOfSlowSuccessfulCalls()
int getNumberOfSlowFailedCalls()
int getNumberOfBufferedCalls()
int getNumberOfFailedCalls()
long getNumberOfNotPermittedCalls()
The number of denied calls is always 0, when the CircuitBreaker state is CLOSED or HALF_OPEN. The number of denied calls is only increased when the CircuitBreaker state is OPEN.
int getNumberOfSuccessfulCalls()