Package io.github.resilience4j.rxjava3
Class AbstractMaybeObserver<T>
java.lang.Object
io.github.resilience4j.rxjava3.AbstractDisposable
io.github.resilience4j.rxjava3.AbstractMaybeObserver<T>
- All Implemented Interfaces:
io.reactivex.rxjava3.core.MaybeObserver<T>,io.reactivex.rxjava3.disposables.Disposable
public abstract class AbstractMaybeObserver<T>
extends AbstractDisposable
implements io.reactivex.rxjava3.core.MaybeObserver<T>
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractMaybeObserver(io.reactivex.rxjava3.core.MaybeObserver<? super T> downstreamObserver) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidprotected abstract voidprotected voidprotected abstract voidhookOnSuccess(T value) voidvoidvoidMethods 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.MaybeObserver
onSubscribe
-
Constructor Details
-
AbstractMaybeObserver
-
-
Method Details
-
hookOnSubscribe
protected void hookOnSubscribe()- Specified by:
hookOnSubscribein classAbstractDisposable
-
onError
- Specified by:
onErrorin interfaceio.reactivex.rxjava3.core.MaybeObserver<T>
-
onComplete
public void onComplete()- Specified by:
onCompletein interfaceio.reactivex.rxjava3.core.MaybeObserver<T>
-
hookOnComplete
protected abstract void hookOnComplete() -
hookOnError
-
onSuccess
- Specified by:
onSuccessin interfaceio.reactivex.rxjava3.core.MaybeObserver<T>
-
hookOnSuccess
-