Actor used to supervise actors with ability to restart them after back-off timeout occurred. It's designed for cases when i.e. persistent actor stops due to journal unavailability or failure. In this case it is better to wait before restart.
Send this message to the BackoffSupervisor and it will reset the back-off. This should be used in conjunction with
withManualReset in Akka.Pattern.BackoffOptionsImpl.
Provides circuit breaker functionality to provide stability when working with "dangerous" operations, e.g. calls to remote systems
Transitions through three states:
- In Closed state, calls pass through until the maxFailures count is reached. This causes the circuit breaker to open. Both exceptions and calls exceeding callTimeout are considered failures.
- In Open state, calls fail-fast with an exception. After resetTimeout, circuit breaker transitions to half-open state.
- In Half-Open state, the first call will be allowed through, if it succeeds the circuit breaker will reset to closed state. If it fails, the circuit breaker will re-open to open state. All calls beyond the first that execute while the first is running will fail-fast with an exception.
Used to help make it easier to schedule timeouts in conjunction with the built-in IScheduler
This exception is thrown when a method has been invoked at an illegal or inappropriate time.
This exception is thrown when the CircuitBreaker is open.
This class provides the retry utility functions.