Class FlowableFromCompletionStage.CompletionStageHandler<T>
java.lang.Object
java.lang.Number
java.util.concurrent.atomic.AtomicInteger
io.reactivex.rxjava3.internal.subscriptions.BasicIntQueueSubscription<T>
io.reactivex.rxjava3.internal.subscriptions.DeferredScalarSubscription<T>
io.reactivex.rxjava3.internal.jdk8.FlowableFromCompletionStage.CompletionStageHandler<T>
- All Implemented Interfaces:
QueueFuseable<T>
,QueueSubscription<T>
,SimpleQueue<T>
,Serializable
,BiConsumer<T,
,Throwable> org.reactivestreams.Subscription
- Enclosing class:
FlowableFromCompletionStage<T>
static final class FlowableFromCompletionStage.CompletionStageHandler<T>
extends DeferredScalarSubscription<T>
implements BiConsumer<T,Throwable>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
(package private) final FlowableFromCompletionStage.BiConsumerAtomicReference
<T> Fields inherited from class io.reactivex.rxjava3.internal.subscriptions.DeferredScalarSubscription
downstream, value
-
Constructor Summary
ConstructorsConstructorDescriptionCompletionStageHandler
(org.reactivestreams.Subscriber<? super T> downstream, FlowableFromCompletionStage.BiConsumerAtomicReference<T> whenReference) -
Method Summary
Methods inherited from class io.reactivex.rxjava3.internal.subscriptions.DeferredScalarSubscription
clear, complete, isCancelled, isEmpty, poll, request, requestFusion, tryCancel
Methods inherited from class io.reactivex.rxjava3.internal.subscriptions.BasicIntQueueSubscription
offer, offer
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.function.BiConsumer
andThen
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
whenReference
-
-
Constructor Details
-
CompletionStageHandler
CompletionStageHandler(org.reactivestreams.Subscriber<? super T> downstream, FlowableFromCompletionStage.BiConsumerAtomicReference<T> whenReference)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceBiConsumer<T,
Throwable>
-
cancel
public void cancel()- Specified by:
cancel
in interfaceorg.reactivestreams.Subscription
- Overrides:
cancel
in classDeferredScalarSubscription<T>
-