Package com.oracle.bmc.circuitbreaker
Interface OciCircuitBreaker.Config
-
- Enclosing interface:
- OciCircuitBreaker
public static interface OciCircuitBreaker.Config
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
OciCircuitBreaker.Config.IntervalFunction
An IntervalFunction which can be used to calculate the wait interval.static class
OciCircuitBreaker.Config.SlidingWindowType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getFailureRateThreshold()
int
getMinimumNumberOfCalls()
int
getPermittedNumberOfCallsInHalfOpenState()
Predicate<Throwable>
getRecordExceptionPredicate()
int
getSlidingWindowSize()
OciCircuitBreaker.Config.SlidingWindowType
getSlidingWindowType()
Duration
getSlowCallDurationThreshold()
float
getSlowCallRateThreshold()
boolean
isWritableStackTraceEnabled()
-
-
-
Method Detail
-
isWritableStackTraceEnabled
boolean isWritableStackTraceEnabled()
-
getFailureRateThreshold
float getFailureRateThreshold()
-
getSlidingWindowSize
int getSlidingWindowSize()
-
getMinimumNumberOfCalls
int getMinimumNumberOfCalls()
-
getPermittedNumberOfCallsInHalfOpenState
int getPermittedNumberOfCallsInHalfOpenState()
-
getSlidingWindowType
OciCircuitBreaker.Config.SlidingWindowType getSlidingWindowType()
-
getSlowCallRateThreshold
float getSlowCallRateThreshold()
-
getSlowCallDurationThreshold
Duration getSlowCallDurationThreshold()
-
-