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

public final Class ObservableRetryBiPredicate<T>

extends AbstractObservableWithUpstream<T, T>
Class Inheritance
Imports
java.util.concurrent.atomic.AtomicInteger, io.reactivex.rxjava3.core.*, io.reactivex.rxjava3.disposables.Disposable, io.reactivex.rxjava3.exceptions.*, io.reactivex.rxjava3.functions.BiPredicate, io.reactivex.rxjava3.internal.disposables.SequentialDisposable

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class

Field Summary

Modifier and TypeField and Description
pack-priv final BiPredicate<? super Integer, ? super Throwable>
Inherited from io.reactivex.rxjava3.internal.operators.observable.AbstractObservableWithUpstream:
source

Constructor Summary

AccessConstructor and Description
public
ObservableRetryBiPredicate(Observable<T> source, BiPredicate<? super Integer, ? super Throwable> predicate)

Method Summary

Modifier and TypeMethod and Description
public void
subscribeActual(Observer<? super T> observer)

Inherited from io.reactivex.rxjava3.internal.operators.observable.AbstractObservableWithUpstream:
source

Field Detail

predicateback to summary
pack-priv final BiPredicate<? super Integer, ? super Throwable> predicate

Constructor Detail

ObservableRetryBiPredicateback to summary
public ObservableRetryBiPredicate(Observable<T> source, BiPredicate<? super Integer, ? super Throwable> predicate)

Method Detail

subscribeActualback to summary
public void subscribeActual(Observer<? super T> observer)
Annotations
@Override
io.reactivex.rxjava3.internal.operators.observable back to summary

pack-priv final Class ObservableRetryBiPredicate.RetryBiObserver<T>

extends AtomicInteger
implements Observer<T>
Class Inheritance
All Implemented Interfaces
io.reactivex.rxjava3.core.Observer

Field Summary

Modifier and TypeField and Description
pack-priv final Observer<? super T>
pack-priv final BiPredicate<? super Integer, ? super Throwable>
pack-priv int
private static final long
pack-priv final ObservableSource<? extends T>
pack-priv final SequentialDisposable

Constructor Summary

AccessConstructor and Description
pack-priv
RetryBiObserver(Observer<? super T> actual, BiPredicate<? super Integer, ? super Throwable> predicate, SequentialDisposable sa, ObservableSource<? extends T> source)

Method Summary

Modifier and TypeMethod and Description
public void
onComplete()

Implements io.reactivex.rxjava3.core.Observer.onComplete.

Notifies the Observer that the Observable has finished sending push-based notifications.
public void
public void
onNext(T
the item emitted by the Observable
t
)

Implements io.reactivex.rxjava3.core.Observer.onNext.

Provides the Observer with a new item to observe.
public void
pack-priv void
subscribeNext()

Subscribes to the source again via trampolining.

Inherited from java.util.concurrent.atomic.AtomicInteger:
accumulateAndGetaddAndGetcompareAndExchangecompareAndExchangeAcquirecompareAndExchangeReleasecompareAndSetdecrementAndGetdoubleValuefloatValuegetgetAcquiregetAndAccumulategetAndAddgetAndDecrementgetAndIncrementgetAndSetgetAndUpdategetOpaquegetPlainincrementAndGetintValuelazySetlongValuesetsetOpaquesetPlainsetReleasetoStringupdateAndGetweakCompareAndSetweakCompareAndSetAcquireweakCompareAndSetPlainweakCompareAndSetReleaseweakCompareAndSetVolatile

Field Detail

downstreamback to summary
pack-priv final Observer<? super T> downstream
predicateback to summary
pack-priv final BiPredicate<? super Integer, ? super Throwable> predicate
retriesback to summary
pack-priv int retries
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.util.concurrent.atomic.AtomicInteger.serialVersionUID.

sourceback to summary
pack-priv final ObservableSource<? extends T> source
upstreamback to summary
pack-priv final SequentialDisposable upstream

Constructor Detail

RetryBiObserverback to summary
pack-priv RetryBiObserver(Observer<? super T> actual, BiPredicate<? super Integer, ? super Throwable> predicate, SequentialDisposable sa, ObservableSource<? extends T> source)

Method Detail

onCompleteback to summary
public void onComplete()

Implements io.reactivex.rxjava3.core.Observer.onComplete.

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

Notifies the Observer that the Observable has finished sending push-based notifications.

The Observable will not call this method if it calls onError.

Annotations
@Override
onErrorback to summary
public void onError(Throwable t)
Annotations
@Override
onNextback to summary
public void onNext(T t)

Implements io.reactivex.rxjava3.core.Observer.onNext.

Doc from io.reactivex.rxjava3.core.Observer.onNext.

Provides the Observer with a new item to observe.

The Observable may call this method 0 or more times.

The Observable will not call this method again after it calls either onComplete or onError.

Parameters
t:T

the item emitted by the Observable

Annotations
@Override
onSubscribeback to summary
public void onSubscribe(Disposable d)
Annotations
@Override
subscribeNextback to summary
pack-priv void subscribeNext()

Subscribes to the source again via trampolining.