TsgcWSCircuitBreaker › Events
Events you can handle, grouped by purpose, followed by the full alphabetical list.
| Name | Description |
|---|---|
| OnStateChange | Fired when a circuit transitions between Closed, Open and HalfOpen. |
| OnCallRejected | Fired when the breaker refuses a call because the circuit is Open or the HalfOpen trial budget is exhausted. |
| OnFallback | Fired just before a fallback response is returned while the circuit is Open; the handler may replace the payload. |
| OnFailureRecorded | Fired every time a failure is recorded against a circuit, after Classification has accepted it. |
| OnSlowCall | Fired when a successful call exceeds Thresholds.SlowCallDurationMs. |
| Name | Description |
|---|---|
| OnCallRejected | Fired when the breaker refuses a call because the circuit is Open or the HalfOpen trial budget is exhausted. |
| OnFailureRecorded | Fired every time a failure is recorded against a circuit, after Classification has accepted it. |
| OnFallback | Fired just before a fallback response is returned while the circuit is Open; the handler may replace the payload. |
| OnSlowCall | Fired when a successful call exceeds Thresholds.SlowCallDurationMs. |
| OnStateChange | Fired when a circuit transitions between Closed, Open and HalfOpen. |