public static interface OciCircuitBreaker.Config
Modifier and Type | Interface and Description |
---|---|
static interface |
OciCircuitBreaker.Config.IntervalFunction
An IntervalFunction which can be used to calculate the wait interval.
|
static class |
OciCircuitBreaker.Config.SlidingWindowType |
Modifier and Type | Method and Description |
---|---|
float |
getFailureRateThreshold() |
int |
getMinimumNumberOfCalls() |
int |
getPermittedNumberOfCallsInHalfOpenState() |
Predicate<Throwable> |
getRecordExceptionPredicate() |
int |
getSlidingWindowSize() |
OciCircuitBreaker.Config.SlidingWindowType |
getSlidingWindowType() |
Duration |
getSlowCallDurationThreshold() |
float |
getSlowCallRateThreshold() |
boolean |
isWritableStackTraceEnabled() |
boolean isWritableStackTraceEnabled()
float getFailureRateThreshold()
int getSlidingWindowSize()
int getMinimumNumberOfCalls()
int getPermittedNumberOfCallsInHalfOpenState()
OciCircuitBreaker.Config.SlidingWindowType getSlidingWindowType()
float getSlowCallRateThreshold()
Duration getSlowCallDurationThreshold()
Copyright © 2016–2024. All rights reserved.