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
-
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 TypeMethodDescriptionvoid
dispose()
Dispose the resource, the operation should be idempotent.(package private) void
Typically, this should beinner.dispose()
.(package private) void
drain()
Implement the serialized inner subscribing and value emission here.(package private) void
(package private) void
innerError
(Throwable ex) boolean
Returns true if this resource has been disposed.(package private) void
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
Methods inherited from class java.lang.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:ConcatMapXMainSubscriber
Typically, this should bedownstream.onSubscribe(this);
.- Specified by:
onSubscribeDownstream
in classConcatMapXMainSubscriber<T>
-
disposeInner
void disposeInner()Description copied from class:ConcatMapXMainSubscriber
Typically, this should beinner.dispose()
.- Specified by:
disposeInner
in classConcatMapXMainSubscriber<T>
-
dispose
public void dispose()Description copied from interface:Disposable
Dispose the resource, the operation should be idempotent.- Specified by:
dispose
in interfaceDisposable
-
isDisposed
public boolean isDisposed()Description copied from interface:Disposable
Returns true if this resource has been disposed.- Specified by:
isDisposed
in interfaceDisposable
- Returns:
- true if this resource has been disposed
-
innerError
-
innerComplete
void innerComplete() -
drain
void drain()Description copied from class:ConcatMapXMainSubscriber
Implement the serialized inner subscribing and value emission here.- Specified by:
drain
in classConcatMapXMainSubscriber<T>
-