| CircuitBreakerCreate Method |
Create a new CircuitBreaker
Namespace:
Akka.Pattern
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax public static CircuitBreaker Create(
int maxFailures,
TimeSpan callTimeout,
TimeSpan resetTimeout
)
static member Create :
maxFailures : int *
callTimeout : TimeSpan *
resetTimeout : TimeSpan -> CircuitBreaker
Parameters
- maxFailures
- Type: SystemInt32
Maximum number of failures before opening the circuit - callTimeout
- Type: SystemTimeSpan
TimeSpan of time after which to consider a call a failure - resetTimeout
- Type: SystemTimeSpan
TimeSpan of time after which to attempt to close the circuit
Return Value
Type:
CircuitBreakerTBD
See Also