Class FlowableJoin.JoinSubscription<TLeft,TRight,TLeftEnd,TRightEnd,R>
java.lang.Object
java.lang.Number
java.util.concurrent.atomic.AtomicInteger
io.reactivex.rxjava3.internal.operators.flowable.FlowableJoin.JoinSubscription<TLeft,TRight,TLeftEnd,TRightEnd,R>
- All Implemented Interfaces:
FlowableGroupJoin.JoinSupport
,Serializable
,org.reactivestreams.Subscription
static final class FlowableJoin.JoinSubscription<TLeft,TRight,TLeftEnd,TRightEnd,R>
extends AtomicInteger
implements org.reactivestreams.Subscription, FlowableGroupJoin.JoinSupport
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final AtomicInteger
(package private) boolean
(package private) final CompositeDisposable
(package private) final org.reactivestreams.Subscriber
<? super R> (package private) final AtomicReference
<Throwable> (package private) static final Integer
(package private) static final Integer
(package private) int
(package private) final SpscLinkedArrayQueue
<Object> (package private) final AtomicLong
(package private) final BiFunction
<? super TLeft, ? super TRight, ? extends R> (package private) static final Integer
(package private) static final Integer
(package private) int
private static final long
-
Constructor Summary
ConstructorsConstructorDescriptionJoinSubscription
(org.reactivestreams.Subscriber<? super R> actual, Function<? super TLeft, ? extends org.reactivestreams.Publisher<TLeftEnd>> leftEnd, Function<? super TRight, ? extends org.reactivestreams.Publisher<TRightEnd>> rightEnd, BiFunction<? super TLeft, ? super TRight, ? extends R> resultSelector) -
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
(package private) void
(package private) void
drain()
(package private) void
errorAll
(org.reactivestreams.Subscriber<?> a) (package private) void
fail
(Throwable exc, org.reactivestreams.Subscriber<?> a, SimpleQueue<?> q) void
innerClose
(boolean isLeft, FlowableGroupJoin.LeftRightEndSubscriber index) void
void
void
innerError
(Throwable ex) void
innerValue
(boolean isLeft, Object o) void
request
(long n) 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
-
requested
-
queue
-
disposables
-
lefts
-
rights
-
error
-
leftEnd
-
rightEnd
-
resultSelector
-
active
-
leftIndex
int leftIndex -
rightIndex
int rightIndex -
cancelled
volatile boolean cancelled -
LEFT_VALUE
-
RIGHT_VALUE
-
LEFT_CLOSE
-
RIGHT_CLOSE
-
-
Constructor Details
-
JoinSubscription
JoinSubscription(org.reactivestreams.Subscriber<? super R> actual, Function<? super TLeft, ? extends org.reactivestreams.Publisher<TLeftEnd>> leftEnd, Function<? super TRight, ? extends org.reactivestreams.Publisher<TRightEnd>> rightEnd, BiFunction<? super TLeft, ? super TRight, ? extends R> resultSelector)
-
-
Method Details
-
request
public void request(long n) - Specified by:
request
in interfaceorg.reactivestreams.Subscription
-
cancel
public void cancel()- Specified by:
cancel
in interfaceorg.reactivestreams.Subscription
-
cancelAll
void cancelAll() -
errorAll
void errorAll(org.reactivestreams.Subscriber<?> a) -
fail
-
drain
void drain() -
innerError
- Specified by:
innerError
in interfaceFlowableGroupJoin.JoinSupport
-
innerComplete
- Specified by:
innerComplete
in interfaceFlowableGroupJoin.JoinSupport
-
innerValue
- Specified by:
innerValue
in interfaceFlowableGroupJoin.JoinSupport
-
innerClose
- Specified by:
innerClose
in interfaceFlowableGroupJoin.JoinSupport
-
innerCloseError
- Specified by:
innerCloseError
in interfaceFlowableGroupJoin.JoinSupport
-