| CircuitBreakerSettings Constructor (Int32, TimeSpan, TimeSpan) |
Namespace:
Akka.Persistence.Sql.Common.Journal
Assembly:
Akka.Persistence.Sql.Common (in Akka.Persistence.Sql.Common.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public CircuitBreakerSettings(
int maxFailures,
TimeSpan callTimeout,
TimeSpan resetTimeout
)
new :
maxFailures : int *
callTimeout : TimeSpan *
resetTimeout : TimeSpan -> CircuitBreakerSettings
Parameters
- maxFailures
- Type: SystemInt32
The maximum number of failures that can happen before the circuit opens. - callTimeout
- Type: SystemTimeSpan
The maximum time available for operation to execute before CircuitBreaker considers it a failure.
- resetTimeout
- Type: SystemTimeSpan
The amount of time before CircuitBreaker moves into the half-closed state.
See Also