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 class
FlowableConcatMapCompletable.ConcatMapCompletableObserver.ConcatMapInnerObserver
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
active
(package private) int
consumed
(package private) CompletableObserver
downstream
(package private) FlowableConcatMapCompletable.ConcatMapCompletableObserver.ConcatMapInnerObserver
inner
(package private) Function<? super T,? extends CompletableSource>
mapper
private static long
serialVersionUID
-
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 void
dispose()
Dispose the resource, the operation should be idempotent.(package private) void
disposeInner()
Typically, this should beinner.dispose()
.(package private) void
drain()
Implement the serialized inner subscribing and value emission here.(package private) void
innerComplete()
(package private) void
innerError(java.lang.Throwable ex)
boolean
isDisposed()
Returns true if this resource has been disposed.(package private) void
onSubscribeDownstream()
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: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
void innerError(java.lang.Throwable ex)
-
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>
-
-