Callbacks run in caller's thread when using withSyncCircuitBreaker, and in same ExecutionContext as the passed in Future when using withCircuitBreaker.
Callbacks run in caller's thread when using withSyncCircuitBreaker, and in same ExecutionContext as the passed in Future when using withCircuitBreaker. To use another ExecutionContext for the callbacks you can specify the executor in the constructor.
Reference to Akka scheduler
Maximum number of failures before opening the circuit
scala.concurrent.util.Duration of time after which to consider a call a failure
scala.concurrent.util.Duration of time after which to attempt to close the circuit
Callbacks run in caller's thread when using withSyncCircuitBreaker, and in same ExecutionContext as the passed in Future when using withCircuitBreaker.
Callbacks run in caller's thread when using withSyncCircuitBreaker, and in same ExecutionContext as the passed in Future when using withCircuitBreaker. To use another ExecutionContext for the callbacks you can specify the executor in the constructor. Java API alias for apply
Reference to Akka scheduler
Maximum number of failures before opening the circuit
scala.concurrent.util.Duration of time after which to consider a call a failure
scala.concurrent.util.Duration of time after which to attempt to close the circuit
Companion object providing factory methods for Circuit Breaker which runs callbacks in caller's thread