ru.tinkoff.kora.resilient.fallback.NoopFallbackMetrics 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.fallback;
import jakarta.annotation.Nonnull;
final class NoopFallbackMetrics implements FallbackMetrics {
static final NoopFallbackMetrics INSTANCE = new NoopFallbackMetrics();
@Override
public void recordExecute(@Nonnull String name, @Nonnull Throwable throwable) {
// do nothing
}
}