CircuitBreakerConfig

org.llm4s.reliability.CircuitBreakerConfig
See theCircuitBreakerConfig companion class

Attributes

Companion
class
Source
ReliabilityConfig.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self 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
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

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.

Creates a CircuitBreakerConfig. Named arguments are the supported way to construct one.

Attributes

Source
ReliabilityConfig.scala

Concrete fields

Aggressive: more failures tolerated, faster recovery

Aggressive: more failures tolerated, faster recovery

Attributes

Source
ReliabilityConfig.scala

Conservative: fewer failures tolerated, longer recovery

Conservative: fewer failures tolerated, longer recovery

Attributes

Source
ReliabilityConfig.scala

Default circuit breaker: 5 failures, 30s recovery

Default circuit breaker: 5 failures, 30s recovery

Attributes

Source
ReliabilityConfig.scala

Disabled: never open circuit (for testing)

Disabled: never open circuit (for testing)

Attributes

Source
ReliabilityConfig.scala