org.llm4s.reliability.CircuitBreakerConfig
See theCircuitBreakerConfig companion class
object CircuitBreakerConfig
Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
CircuitBreakerConfig.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
def apply(failureThreshold: Int, recoveryTimeout: FiniteDuration, successThreshold: Int): CircuitBreakerConfig
Creates a CircuitBreakerConfig. Named arguments are the supported way to construct one.
Concrete fields
Aggressive: more failures tolerated, faster recovery
Aggressive: more failures tolerated, faster recovery
Attributes
Conservative: fewer failures tolerated, longer recovery
Conservative: fewer failures tolerated, longer recovery
Attributes
Default circuit breaker: 5 failures, 30s recovery
Default circuit breaker: 5 failures, 30s recovery
Attributes
Disabled: never open circuit (for testing)
Disabled: never open circuit (for testing)
Attributes
In this article