public final class RemoteRuleMetrics extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RemoteRuleMetrics.RequestResult |
Modifier and Type | Method and Description |
---|---|
static <T> T |
inCircuitBreaker(long deadlineStartNanos,
io.github.resilience4j.circuitbreaker.CircuitBreaker circuitBreaker,
String ruleKey,
long chars,
Callable<T> fetchResults) |
static void |
request(String rule,
long startNanos,
long characters,
RemoteRuleMetrics.RequestResult result) |
static void |
wait(String langCode,
long milliseconds) |
public static void request(String rule, long startNanos, long characters, RemoteRuleMetrics.RequestResult result)
public static void wait(String langCode, long milliseconds)
@ApiStatus.Internal @Nullable public static <T> T inCircuitBreaker(long deadlineStartNanos, io.github.resilience4j.circuitbreaker.CircuitBreaker circuitBreaker, String ruleKey, long chars, Callable<T> fetchResults) throws InterruptedException
InterruptedException