Class SingleCircuitBreaker.CircuitBreakerSingleObserver
java.lang.Object
io.github.resilience4j.rxjava3.AbstractDisposable
io.github.resilience4j.rxjava3.AbstractSingleObserver<T>
io.github.resilience4j.rxjava3.circuitbreaker.operator.SingleCircuitBreaker.CircuitBreakerSingleObserver
- All Implemented Interfaces:
io.reactivex.rxjava3.core.SingleObserver<T>, io.reactivex.rxjava3.disposables.Disposable
- Enclosing class:
SingleCircuitBreaker<T>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCircuitBreakerSingleObserver(io.reactivex.rxjava3.core.SingleObserver<? super T> downstreamObserver) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidhookOnSuccess(T value) Methods inherited from class AbstractSingleObserver
hookOnSubscribe, onError, onSuccessMethods inherited from class AbstractDisposable
dispose, isDisposed, onSubscribe, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.reactivex.rxjava3.core.SingleObserver
onSubscribe
-
Field Details
-
start
private final long start
-
-
Constructor Details
-
CircuitBreakerSingleObserver
CircuitBreakerSingleObserver(io.reactivex.rxjava3.core.SingleObserver<? super T> downstreamObserver)
-
-
Method Details
-
hookOnError
- Specified by:
hookOnErrorin classAbstractSingleObserver<T>
-
hookOnSuccess
- Specified by:
hookOnSuccessin classAbstractSingleObserver<T>
-
hookOnCancel
protected void hookOnCancel()- Specified by:
hookOnCancelin classAbstractDisposable
-