| CircuitBreaker Constructor |
Create a new CircuitBreaker
Namespace:
Akka.Pattern
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public CircuitBreaker(
int maxFailures,
TimeSpan callTimeout,
TimeSpan resetTimeout
)
new :
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:
TBD
See Also