Class FlowableFromStream.StreamSubscription<T>
java.lang.Object
java.lang.Number
java.util.concurrent.atomic.AtomicLong
io.reactivex.rxjava3.internal.jdk8.FlowableFromStream.AbstractStreamSubscription<T>
io.reactivex.rxjava3.internal.jdk8.FlowableFromStream.StreamSubscription<T>
- All Implemented Interfaces:
QueueFuseable<T>,QueueSubscription<T>,SimpleQueue<T>,Serializable,org.reactivestreams.Subscription
- Enclosing class:
FlowableFromStream<T>
static final class FlowableFromStream.StreamSubscription<T>
extends FlowableFromStream.AbstractStreamSubscription<T>
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) final org.reactivestreams.Subscriber<? super T> private static final longFields inherited from class io.reactivex.rxjava3.internal.jdk8.FlowableFromStream.AbstractStreamSubscription
cancelled, closeable, iterator, once -
Constructor Summary
ConstructorsConstructorDescriptionStreamSubscription(org.reactivestreams.Subscriber<? super T> downstream, Iterator<T> iterator, AutoCloseable closeable) -
Method Summary
Methods inherited from class io.reactivex.rxjava3.internal.jdk8.FlowableFromStream.AbstractStreamSubscription
cancel, clear, isEmpty, offer, offer, poll, request, requestFusionMethods inherited from class java.util.concurrent.atomic.AtomicLong
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 java.lang.Number
byteValue, shortValue
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
downstream
-
-
Constructor Details
-
StreamSubscription
StreamSubscription(org.reactivestreams.Subscriber<? super T> downstream, Iterator<T> iterator, AutoCloseable closeable)
-
-
Method Details
-
run
public void run(long n) - Specified by:
runin classFlowableFromStream.AbstractStreamSubscription<T>
-