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>
- Since:
- 3.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long(package private) final FlowableFromCompletionStage.BiConsumerAtomicReference<T> Fields inherited from class DeferredScalarSubscription
downstream, value -
Constructor Summary
ConstructorsConstructorDescriptionCompletionStageHandler(org.reactivestreams.Subscriber<? super T> downstream, FlowableFromCompletionStage.BiConsumerAtomicReference<T> whenReference) -
Method Summary
Methods inherited from class DeferredScalarSubscription
clear, complete, isCancelled, isEmpty, poll, request, requestFusion, tryCancelMethods inherited from class BasicIntQueueSubscription
offer, offerMethods 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, shortValueMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface 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
-
cancel
public void cancel()- Specified by:
cancelin interfaceorg.reactivestreams.Subscription- Overrides:
cancelin classDeferredScalarSubscription<T>
-