Class CompletableConcat.CompletableConcatSubscriber
java.lang.Object
java.lang.Number
java.util.concurrent.atomic.AtomicInteger
io.reactivex.rxjava3.internal.operators.completable.CompletableConcat.CompletableConcatSubscriber
- All Implemented Interfaces:
FlowableSubscriber<CompletableSource>, Disposable, Serializable, org.reactivestreams.Subscriber<CompletableSource>
- Enclosing class:
CompletableConcat
static final class CompletableConcat.CompletableConcatSubscriber
extends AtomicInteger
implements FlowableSubscriber<CompletableSource>, 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) boolean(package private) final CompletableObserver(package private) final CompletableConcat.CompletableConcatSubscriber.ConcatInnerObserver(package private) final int(package private) final AtomicBoolean(package private) final int(package private) SimpleQueue<CompletableSource> private static final long(package private) int(package private) org.reactivestreams.Subscription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose()Dispose the resource, the operation should be idempotent.(package private) voiddrain()(package private) void(package private) voidbooleanReturns true if this resource has been disposed.voidvoidvoidvoidonSubscribe(org.reactivestreams.Subscription s) Implementors of this method should make sure everything that needs to be visible inSubscriber.onNext(Object)is established before callingSubscription.request(long).(package private) voidrequest()Methods 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
-
prefetch
final int prefetch -
limit
final int limit -
inner
-
once
-
sourceFused
int sourceFused -
consumed
int consumed -
queue
SimpleQueue<CompletableSource> queue -
upstream
org.reactivestreams.Subscription upstream -
done
volatile boolean done -
active
volatile boolean active
-
-
Constructor Details
-
CompletableConcatSubscriber
CompletableConcatSubscriber(CompletableObserver actual, int prefetch)
-
-
Method Details
-
onSubscribe
public void onSubscribe(org.reactivestreams.Subscription s) Description copied from interface:FlowableSubscriberImplementors of this method should make sure everything that needs to be visible inSubscriber.onNext(Object)is established before callingSubscription.request(long). In practice this means no initialization should happen after therequest()call and additional behavior is thread safe in respect toonNext.- Specified by:
onSubscribein interfaceFlowableSubscriber<CompletableSource>- Specified by:
onSubscribein interfaceorg.reactivestreams.Subscriber<CompletableSource>
-
onNext
- Specified by:
onNextin interfaceorg.reactivestreams.Subscriber<CompletableSource>
-
onError
- Specified by:
onErrorin interfaceorg.reactivestreams.Subscriber<CompletableSource>
-
onComplete
public void onComplete()- Specified by:
onCompletein interfaceorg.reactivestreams.Subscriber<CompletableSource>
-
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
-
drain
void drain() -
request
void request() -
innerError
-
innerComplete
void innerComplete()
-