Class FlowableWindowTimed.WindowExactUnboundedSubscriber<T>
- java.lang.Object
-
- java.lang.Number
-
- java.util.concurrent.atomic.AtomicInteger
-
- io.reactivex.rxjava3.internal.operators.flowable.FlowableWindowTimed.AbstractWindowSubscriber<T>
-
- io.reactivex.rxjava3.internal.operators.flowable.FlowableWindowTimed.WindowExactUnboundedSubscriber<T>
-
- All Implemented Interfaces:
FlowableSubscriber<T>,java.io.Serializable,java.lang.Runnable,org.reactivestreams.Subscriber<T>,org.reactivestreams.Subscription
- Enclosing class:
- FlowableWindowTimed<T>
static final class FlowableWindowTimed.WindowExactUnboundedSubscriber<T> extends FlowableWindowTimed.AbstractWindowSubscriber<T> implements java.lang.Runnable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) classFlowableWindowTimed.WindowExactUnboundedSubscriber.WindowRunnable
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.ObjectNEXT_WINDOW(package private) Schedulerschedulerprivate static longserialVersionUID(package private) SequentialDisposabletimer(package private) UnicastProcessor<T>window(package private) java.lang.RunnablewindowRunnable-
Fields inherited from class io.reactivex.rxjava3.internal.operators.flowable.FlowableWindowTimed.AbstractWindowSubscriber
bufferSize, done, downstream, downstreamCancelled, emitted, error, queue, requested, timespan, unit, upstream, upstreamCancelled, windowCount
-
-
Constructor Summary
Constructors Constructor Description WindowExactUnboundedSubscriber(org.reactivestreams.Subscriber<? super Flowable<T>> actual, long timespan, java.util.concurrent.TimeUnit unit, Scheduler scheduler, int bufferSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidcleanupResources()(package private) voidcreateFirstWindow()(package private) voiddrain()voidrun()-
Methods inherited from class io.reactivex.rxjava3.internal.operators.flowable.FlowableWindowTimed.AbstractWindowSubscriber
cancel, onComplete, onError, onNext, onSubscribe, request, windowDone
-
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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
scheduler
final Scheduler scheduler
-
window
UnicastProcessor<T> window
-
timer
final SequentialDisposable timer
-
NEXT_WINDOW
static final java.lang.Object NEXT_WINDOW
-
windowRunnable
final java.lang.Runnable windowRunnable
-
-
Method Detail
-
createFirstWindow
void createFirstWindow()
- Specified by:
createFirstWindowin classFlowableWindowTimed.AbstractWindowSubscriber<T>
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable
-
drain
void drain()
- Specified by:
drainin classFlowableWindowTimed.AbstractWindowSubscriber<T>
-
cleanupResources
void cleanupResources()
- Specified by:
cleanupResourcesin classFlowableWindowTimed.AbstractWindowSubscriber<T>
-
-