T - the value type of the upstream and downstreampublic class CircuitBreakerOperator<T>
extends java.lang.Object
implements io.reactivex.ObservableOperator<T,T>, io.reactivex.FlowableOperator<T,T>, io.reactivex.SingleOperator<T,T>
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Observer<? super T> |
apply(io.reactivex.Observer<? super T> childObserver) |
io.reactivex.SingleObserver<? super T> |
apply(io.reactivex.SingleObserver<? super T> childObserver) |
org.reactivestreams.Subscriber<? super T> |
apply(org.reactivestreams.Subscriber<? super T> childSubscriber) |
static <T> CircuitBreakerOperator<T> |
of(CircuitBreaker circuitBreaker)
Creates a CircuitBreakerOperator.
|
public static <T> CircuitBreakerOperator<T> of(CircuitBreaker circuitBreaker)
T - the value type of the upstream and downstreamcircuitBreaker - the CircuitBreakerpublic org.reactivestreams.Subscriber<? super T> apply(org.reactivestreams.Subscriber<? super T> childSubscriber) throws java.lang.Exception
public io.reactivex.Observer<? super T> apply(io.reactivex.Observer<? super T> childObserver) throws java.lang.Exception