Top Inners Fields Constructors Methods
io.reactivex.rxjava3.internal.operators.completable

public final Class CompletableAmb

extends Completable
Class Inheritance
Imports
java.util.concurrent.atomic.AtomicBoolean, io.reactivex.rxjava3.core.*, io.reactivex.rxjava3.disposables.*, io.reactivex.rxjava3.exceptions.Exceptions, io.reactivex.rxjava3.internal.disposables.EmptyDisposable, io.reactivex.rxjava3.plugins.RxJavaPlugins

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
private final CompletableSource[]
private final Iterable<? extends CompletableSource>

Constructor Summary

AccessConstructor and Description
public
CompletableAmb(CompletableSource[] sources, Iterable<? extends CompletableSource> sourcesIterable)

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from io.reactivex.rxjava3.core.Completable:
ambambArrayambWithandThenandThenandThenandThenandThenblockingAwaitblockingAwaitblockingSubscribeblockingSubscribeblockingSubscribeblockingSubscribecachecompletecomposeconcatconcatconcatconcatArrayconcatArrayDelayErrorconcatDelayErrorconcatDelayErrorconcatDelayErrorconcatWithcreatedeferdelaydelaydelaydelaySubscriptiondelaySubscriptiondoAfterTerminatedoFinallydoOnCompletedoOnDisposedoOnErrordoOnEventdoOnLifecycledoOnSubscribedoOnTerminateerrorerrorfromActionfromCallablefromCompletionStagefromFuturefromMaybefromObservablefromPublisherfromRunnablefromSinglefromSupplierhideliftmaterializemergemergemergemergeArraymergeArrayDelayErrormergeDelayErrormergeDelayErrormergeDelayErrormergeWithneverobserveOnonErrorCompleteonErrorCompleteonErrorResumeNextonErrorResumeWithonErrorReturnonErrorReturnItemonTerminateDetachrepeatrepeatrepeatUntilrepeatWhenretryretryretryretryretryretryUntilretryWhensafeSubscribesequenceEqualstartWithstartWithstartWithstartWithstartWithsubscribesubscribesubscribesubscribesubscribesubscribeActualsubscribeOnsubscribeWithswitchOnNextswitchOnNextDelayErrortakeUntiltesttesttimeouttimeouttimeouttimeouttimertimertotoCompletionStagetoFlowabletoFuturetoMaybetoObservabletoSingletoSingleDefaultunsafeCreateunsubscribeOnusingusingwrap

Field Detail

sourcesback to summary
private final CompletableSource[] sources
sourcesIterableback to summary
private final Iterable<? extends CompletableSource> sourcesIterable

Constructor Detail

CompletableAmbback to summary
public CompletableAmb(CompletableSource[] sources, Iterable<? extends CompletableSource> sourcesIterable)

Method Detail

subscribeActualback to summary
public void subscribeActual(final CompletableObserver observer)
Annotations
@Override
io.reactivex.rxjava3.internal.operators.completable back to summary

pack-priv final Class CompletableAmb.Amb

extends Object
implements CompletableObserver
Class Inheritance
  • java.lang.Object
  • io.reactivex.rxjava3.internal.operators.completable.CompletableAmb.Amb
All Implemented Interfaces
io.reactivex.rxjava3.core.CompletableObserver

Field Summary

Modifier and TypeField and Description
pack-priv final CompletableObserver
pack-priv final AtomicBoolean
pack-priv final CompositeDisposable
pack-priv Disposable

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
onComplete()

Implements io.reactivex.rxjava3.core.CompletableObserver.onComplete.

Called once the deferred computation completes normally.
public void
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

downstreamback to summary
pack-priv final CompletableObserver downstream
onceback to summary
pack-priv final AtomicBoolean once
setback to summary
pack-priv final CompositeDisposable set
upstreamback to summary
pack-priv Disposable upstream

Constructor Detail

Ambback to summary
pack-priv Amb(AtomicBoolean once, CompositeDisposable set, CompletableObserver observer)

Method Detail

onCompleteback to summary
public void onComplete()

Implements io.reactivex.rxjava3.core.CompletableObserver.onComplete.

Doc from io.reactivex.rxjava3.core.CompletableObserver.onComplete.

Called once the deferred computation completes normally.

Annotations
@Override
onErrorback to summary
public void onError(Throwable e)
Annotations
@Override
onSubscribeback to summary
public void onSubscribe(Disposable d)
Annotations
@Override