Package io.github.resilience4j.rxjava3
Class AbstractSingleObserver<T>
java.lang.Object
io.github.resilience4j.rxjava3.AbstractDisposable
io.github.resilience4j.rxjava3.AbstractSingleObserver<T>
- All Implemented Interfaces:
io.reactivex.rxjava3.core.SingleObserver<T>,io.reactivex.rxjava3.disposables.Disposable
public abstract class AbstractSingleObserver<T>
extends AbstractDisposable
implements io.reactivex.rxjava3.core.SingleObserver<T>
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractSingleObserver(io.reactivex.rxjava3.core.SingleObserver<? super T> downstreamObserver) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidprotected voidprotected abstract voidhookOnSuccess(T value) voidvoidMethods inherited from class io.github.resilience4j.rxjava3.AbstractDisposable
dispose, hookOnCancel, isDisposed, onSubscribe, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.reactivex.rxjava3.core.SingleObserver
onSubscribe
-
Constructor Details
-
AbstractSingleObserver
public AbstractSingleObserver(io.reactivex.rxjava3.core.SingleObserver<? super T> downstreamObserver)
-
-
Method Details
-
hookOnSubscribe
protected void hookOnSubscribe()- Specified by:
hookOnSubscribein classAbstractDisposable
-
onError
- Specified by:
onErrorin interfaceio.reactivex.rxjava3.core.SingleObserver<T>
-
hookOnError
-
onSuccess
- Specified by:
onSuccessin interfaceio.reactivex.rxjava3.core.SingleObserver<T>
-
hookOnSuccess
-