T - the value type of the upstream and downstreampublic class CircuitBreakerOperator<T>
extends java.lang.Object
implements java.util.function.Function<org.reactivestreams.Publisher<T>,org.reactivestreams.Publisher<T>>
| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<T> |
apply(org.reactivestreams.Publisher<T> publisher) |
static <T> CircuitBreakerOperator<T> |
of(io.github.resilience4j.circuitbreaker.CircuitBreaker circuitBreaker)
Creates a CircuitBreakerOperator.
|
public static <T> CircuitBreakerOperator<T> of(io.github.resilience4j.circuitbreaker.CircuitBreaker circuitBreaker)
T - the value type of the upstream and downstreamcircuitBreaker - the circuit breaker