ru.tinkoff.kora.resilient.circuitbreaker.CircuitBreakerMetrics Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of resilient-kora Show documentation
Show all versions of resilient-kora Show documentation
Kora resilient-kora module
The newest version!
package ru.tinkoff.kora.resilient.circuitbreaker;
import jakarta.annotation.Nonnull;
/**
* Records circuit breaker metrics
*/
public interface CircuitBreakerMetrics {
void recordState(@Nonnull String name, @Nonnull CircuitBreaker.State state);
}