Class CompletablePeek
- java.lang.Object
-
- io.reactivex.rxjava3.core.Completable
-
- io.reactivex.rxjava3.internal.operators.completable.CompletablePeek
-
- All Implemented Interfaces:
CompletableSource
public final class CompletablePeek extends Completable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) class
CompletablePeek.CompletableObserverImplementation
-
Field Summary
Fields Modifier and Type Field Description (package private) Action
onAfterTerminate
(package private) Action
onComplete
(package private) Action
onDispose
(package private) Consumer<? super java.lang.Throwable>
onError
(package private) Consumer<? super Disposable>
onSubscribe
(package private) Action
onTerminate
(package private) CompletableSource
source
-
Constructor Summary
Constructors Constructor Description CompletablePeek(CompletableSource source, Consumer<? super Disposable> onSubscribe, Consumer<? super java.lang.Throwable> onError, Action onComplete, Action onTerminate, Action onAfterTerminate, Action onDispose)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
subscribeActual(CompletableObserver observer)
Implement this method to handle the incomingCompletableObserver
s and perform the business logic in your operator.-
Methods inherited from class io.reactivex.rxjava3.core.Completable
amb, ambArray, ambWith, andThen, andThen, andThen, andThen, andThen, blockingAwait, blockingAwait, blockingSubscribe, blockingSubscribe, blockingSubscribe, blockingSubscribe, cache, complete, compose, concat, concat, concat, concatArray, concatArrayDelayError, concatDelayError, concatDelayError, concatDelayError, concatWith, create, defer, delay, delay, delay, delaySubscription, delaySubscription, doAfterTerminate, doFinally, doOnComplete, doOnDispose, doOnError, doOnEvent, doOnLifecycle, doOnSubscribe, doOnTerminate, error, error, fromAction, fromCallable, fromCompletionStage, fromFuture, fromMaybe, fromObservable, fromPublisher, fromRunnable, fromSingle, fromSupplier, hide, lift, materialize, merge, merge, merge, mergeArray, mergeArrayDelayError, mergeDelayError, mergeDelayError, mergeDelayError, mergeWith, never, observeOn, onErrorComplete, onErrorComplete, onErrorResumeNext, onErrorResumeWith, onErrorReturn, onErrorReturnItem, onTerminateDetach, repeat, repeat, repeatUntil, repeatWhen, retry, retry, retry, retry, retry, retryUntil, retryWhen, safeSubscribe, sequenceEqual, startWith, startWith, startWith, startWith, startWith, subscribe, subscribe, subscribe, subscribe, subscribe, subscribeOn, subscribeWith, switchOnNext, switchOnNextDelayError, takeUntil, test, test, timeout, timeout, timeout, timeout, timer, timer, to, toCompletionStage, toFlowable, toFuture, toMaybe, toObservable, toSingle, toSingleDefault, unsafeCreate, unsubscribeOn, using, using, wrap
-
-
-
-
Field Detail
-
source
final CompletableSource source
-
onSubscribe
final Consumer<? super Disposable> onSubscribe
-
onError
final Consumer<? super java.lang.Throwable> onError
-
onComplete
final Action onComplete
-
onTerminate
final Action onTerminate
-
onAfterTerminate
final Action onAfterTerminate
-
onDispose
final Action onDispose
-
-
Constructor Detail
-
CompletablePeek
public CompletablePeek(CompletableSource source, Consumer<? super Disposable> onSubscribe, Consumer<? super java.lang.Throwable> onError, Action onComplete, Action onTerminate, Action onAfterTerminate, Action onDispose)
-
-
Method Detail
-
subscribeActual
protected void subscribeActual(CompletableObserver observer)
Description copied from class:Completable
Implement this method to handle the incomingCompletableObserver
s and perform the business logic in your operator.There is no need to call any of the plugin hooks on the current
Completable
instance or theCompletableObserver
; all hooks and basic safeguards have been applied byCompletable.subscribe(CompletableObserver)
before this method gets called.- Specified by:
subscribeActual
in classCompletable
- Parameters:
observer
- theCompletableObserver
instance, nevernull
-
-