wvlet.airframe.control
package wvlet.airframe.control
Type members
Classlikes
case class CircuitBreaker(name: String, healthCheckPolicy: HealthCheckPolicy, resultClassifier: Any => ResultClass, errorClassifier: Throwable => Failed, onOpenFailureHandler: CircuitBreakerContext => Unit, onStateChangeListener: CircuitBreakerContext => Unit, fallbackHandler: Throwable => Any, delayAfterMarkedDead: RetryPolicy, recoveryPolicy: CircuitBreakerRecoveryPolicy, var nextProvingTimeMillis: Long, var provingWaitTimeMillis: Long, var lastFailure: Option[Throwable], currentState: AtomicReference[CircuitBreakerState]) extends CircuitBreakerContext with LogSupport
- Companion
- object
trait CircuitBreakerContext
A safe interface for accessing CircuitBreaker states when handling events.
A safe interface for accessing CircuitBreaker states when handling events.
An exception thrown when the circuit breaker is open.
An exception thrown when the circuit breaker is open.
Tokenize single string representations of command line arguments into Array[String]
Tokenize single string representations of command line arguments into Array[String]
A Ticker implementation that can be incremented for test
A Ticker implementation that can be incremented for test
sealed trait ResultClass
A classification of the code execution result
A classification of the code execution result
- Companion
- object