Package io.github.teceli.resiliencia.metrics.circuitbreaker
package io.github.teceli.resiliencia.metrics.circuitbreaker
-
ClassDescriptionCounter/timer-worthy occurrences emitted by a CircuitBreaker.Emitted alongside a Transition(to=CLOSED): every Closed transition originates from HalfOpen in the current state machine, and successfulTestCalls only has meaning for that specific case.A call rejected without executing, because the circuit was Open or HalfOpen with no permits left.Gauge-worthy live state of a CircuitBreaker.Deliberately a small, stable enum, not a reuse of
patterns' ownCircuitStatesealed type —CircuitState.Opencarries fields useful to the pattern but irrelevant and unstable as gauge content.