Click or drag to resize
Akka.NETCircuitBreakerSettings Constructor (Int32, TimeSpan, TimeSpan)
Initializes a new instance of the CircuitBreakerSettings class.

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
)

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