Class FlowableConcatMapCompletable.ConcatMapCompletableObserver<T>
- java.lang.Object
-
- java.lang.Number
-
- java.util.concurrent.atomic.AtomicInteger
-
- io.reactivex.rxjava3.internal.operators.mixed.ConcatMapXMainSubscriber<T>
-
- io.reactivex.rxjava3.internal.operators.mixed.FlowableConcatMapCompletable.ConcatMapCompletableObserver<T>
-
- All Implemented Interfaces:
FlowableSubscriber<T>,Disposable,java.io.Serializable,org.reactivestreams.Subscriber<T>
- Enclosing class:
- FlowableConcatMapCompletable<T>
static final class FlowableConcatMapCompletable.ConcatMapCompletableObserver<T> extends ConcatMapXMainSubscriber<T> implements Disposable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classFlowableConcatMapCompletable.ConcatMapCompletableObserver.ConcatMapInnerObserver
-
Field Summary
Fields Modifier and Type Field Description (package private) booleanactive(package private) intconsumed(package private) CompletableObserverdownstream(package private) FlowableConcatMapCompletable.ConcatMapCompletableObserver.ConcatMapInnerObserverinner(package private) Function<? super T,? extends CompletableSource>mapperprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description ConcatMapCompletableObserver(CompletableObserver downstream, Function<? super T,? extends CompletableSource> mapper, ErrorMode errorMode, int prefetch)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()Dispose the resource, the operation should be idempotent.(package private) voiddisposeInner()Typically, this should beinner.dispose().(package private) voiddrain()Implement the serialized inner subscribing and value emission here.(package private) voidinnerComplete()(package private) voidinnerError(java.lang.Throwable ex)booleanisDisposed()Returns true if this resource has been disposed.(package private) voidonSubscribeDownstream()Typically, this should bedownstream.onSubscribe(this);.-
Methods inherited from class io.reactivex.rxjava3.internal.operators.mixed.ConcatMapXMainSubscriber
clearValue, onComplete, onError, onNext, onSubscribe, stop
-
Methods inherited from class java.util.concurrent.atomic.AtomicInteger
accumulateAndGet, addAndGet, compareAndExchange, compareAndExchangeAcquire, compareAndExchangeRelease, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAcquire, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, getOpaque, getPlain, incrementAndGet, intValue, lazySet, longValue, set, setOpaque, setPlain, setRelease, toString, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatile
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
downstream
final CompletableObserver downstream
-
mapper
final Function<? super T,? extends CompletableSource> mapper
-
active
volatile boolean active
-
consumed
int consumed
-
-
Constructor Detail
-
ConcatMapCompletableObserver
ConcatMapCompletableObserver(CompletableObserver downstream, Function<? super T,? extends CompletableSource> mapper, ErrorMode errorMode, int prefetch)
-
-
Method Detail
-
onSubscribeDownstream
void onSubscribeDownstream()
Description copied from class:ConcatMapXMainSubscriberTypically, this should bedownstream.onSubscribe(this);.- Specified by:
onSubscribeDownstreamin classConcatMapXMainSubscriber<T>
-
disposeInner
void disposeInner()
Description copied from class:ConcatMapXMainSubscriberTypically, this should beinner.dispose().- Specified by:
disposeInnerin classConcatMapXMainSubscriber<T>
-
dispose
public void dispose()
Description copied from interface:DisposableDispose the resource, the operation should be idempotent.- Specified by:
disposein interfaceDisposable
-
isDisposed
public boolean isDisposed()
Description copied from interface:DisposableReturns true if this resource has been disposed.- Specified by:
isDisposedin interfaceDisposable- Returns:
- true if this resource has been disposed
-
innerError
void innerError(java.lang.Throwable ex)
-
innerComplete
void innerComplete()
-
drain
void drain()
Description copied from class:ConcatMapXMainSubscriberImplement the serialized inner subscribing and value emission here.- Specified by:
drainin classConcatMapXMainSubscriber<T>
-
-