Class AbstractCompletableObserver
java.lang.Object
io.github.resilience4j.rxjava3.AbstractDisposable
io.github.resilience4j.rxjava3.AbstractCompletableObserver
- All Implemented Interfaces:
io.reactivex.rxjava3.core.CompletableObserver, io.reactivex.rxjava3.disposables.Disposable
- Direct Known Subclasses:
CompletableBulkhead.BulkheadCompletableObserver, CompletableCircuitBreaker.CircuitBreakerCompletableObserver, CompletableRateLimiter.RateLimiterCompletableObserver
public abstract class AbstractCompletableObserver
extends AbstractDisposable
implements io.reactivex.rxjava3.core.CompletableObserver
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final io.reactivex.rxjava3.core.CompletableObserver -
Constructor Summary
ConstructorsConstructorDescriptionAbstractCompletableObserver(io.reactivex.rxjava3.core.CompletableObserver downstreamObserver) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidprotected abstract voidprotected voidvoidvoidMethods inherited from class AbstractDisposable
dispose, hookOnCancel, isDisposed, onSubscribe, toString, whenNotCompleted, whenNotDisposedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.reactivex.rxjava3.core.CompletableObserver
onSubscribe
-
Field Details
-
downstreamObserver
private final io.reactivex.rxjava3.core.CompletableObserver downstreamObserver
-
-
Constructor Details
-
AbstractCompletableObserver
public AbstractCompletableObserver(io.reactivex.rxjava3.core.CompletableObserver downstreamObserver)
-
-
Method Details
-
hookOnSubscribe
protected void hookOnSubscribe()- Specified by:
hookOnSubscribein classAbstractDisposable
-
onComplete
public void onComplete()- Specified by:
onCompletein interfaceio.reactivex.rxjava3.core.CompletableObserver
-
hookOnComplete
protected abstract void hookOnComplete() -
onError
- Specified by:
onErrorin interfaceio.reactivex.rxjava3.core.CompletableObserver
-
hookOnError
-