Value parameters
- failureRateThreshold
-
threshold, as percentage of operations that ended in failure
- halfOpenTimeoutDuration
-
time out after which, if not enough calls where registered in half open state, breaker will go back to open state.
- minimumNumberOfCalls
-
minimum number of results that must be registered before metrics are calculated.
- numberOfCallsInHalfOpenState
-
number of results that must be registered to calculate metrics and decide if breaker should go back to open state or close. This is also maximum number of operations that can be started in half open state.
- slidingWindow
-
configures how thresholds will be calculated. See SlidingWindow for more details.
- slowCallDurationThreshold
-
time after which operation is considered slow.
- slowCallThreshold
-
threshold, as percentage of operations that spanned more then slowCallDurationThreshold.
- waitDurationOpenState
-
how much time will pass before breaker will switch from open to half open state.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any