Package io.github.resilience4j.rxjava3
Class AbstractObserver<T>
java.lang.Object
io.github.resilience4j.rxjava3.AbstractDisposable
io.github.resilience4j.rxjava3.AbstractObserver<T>
- All Implemented Interfaces:
io.reactivex.rxjava3.core.Observer<T>,io.reactivex.rxjava3.disposables.Disposable
public abstract class AbstractObserver<T>
extends AbstractDisposable
implements io.reactivex.rxjava3.core.Observer<T>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractObserver(io.reactivex.rxjava3.core.Observer<? super T> downstreamObserver) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidprotected abstract voidprotected voidhookOnNext(T value) protected voidvoidvoidvoidMethods 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.Observer
onSubscribe
-
Field Details
-
eventWasEmitted
-
-
Constructor Details
-
AbstractObserver
-
-
Method Details
-
hookOnSubscribe
protected void hookOnSubscribe()- Specified by:
hookOnSubscribein classAbstractDisposable
-
onNext
- Specified by:
onNextin interfaceio.reactivex.rxjava3.core.Observer<T>
-
hookOnNext
-
onError
- Specified by:
onErrorin interfaceio.reactivex.rxjava3.core.Observer<T>
-
hookOnError
-
onComplete
public void onComplete()- Specified by:
onCompletein interfaceio.reactivex.rxjava3.core.Observer<T>
-
hookOnComplete
protected abstract void hookOnComplete()
-