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, Serializable, org.reactivestreams.Subscriber<T>
- Enclosing class:
FlowableConcatMapCompletable<T>
static final class FlowableConcatMapCompletable.ConcatMapCompletableObserver<T>
extends ConcatMapXMainSubscriber<T>
implements Disposable
- Since:
- 2.2
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class -
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean(package private) int(package private) final CompletableObserver(package private) final FlowableConcatMapCompletable.ConcatMapCompletableObserver.ConcatMapInnerObserver(package private) final Function<? super T, ? extends CompletableSource> private static final long -
Constructor Summary
ConstructorsConstructorDescriptionConcatMapCompletableObserver(CompletableObserver downstream, Function<? super T, ? extends CompletableSource> mapper, ErrorMode errorMode, int prefetch) -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Dispose the resource, the operation should be idempotent.(package private) voidTypically, this should beinner.dispose().(package private) voiddrain()Implement the serialized inner subscribing and value emission here.(package private) void(package private) voidinnerError(Throwable ex) booleanReturns true if this resource has been disposed.(package private) voidTypically, this should bedownstream.onSubscribe(this);.Methods inherited from class ConcatMapXMainSubscriber
clearValue, onComplete, onError, onNext, onSubscribe, stopMethods inherited from class 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, weakCompareAndSetVolatileMethods inherited from class Number
byteValue, shortValue
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
downstream
-
mapper
-
inner
-
active
volatile boolean active -
consumed
int consumed
-
-
Constructor Details
-
ConcatMapCompletableObserver
ConcatMapCompletableObserver(CompletableObserver downstream, Function<? super T, ? extends CompletableSource> mapper, ErrorMode errorMode, int prefetch)
-
-
Method Details
-
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
-
innerComplete
void innerComplete() -
drain
void drain()Description copied from class:ConcatMapXMainSubscriberImplement the serialized inner subscribing and value emission here.- Specified by:
drainin classConcatMapXMainSubscriber<T>
-