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) class
FlowableWindowTimed.WindowExactUnboundedSubscriber.WindowRunnable
-
Field Summary
Fields Modifier and Type Field Description (package private) static java.lang.Object
NEXT_WINDOW
(package private) Scheduler
scheduler
private static long
serialVersionUID
(package private) SequentialDisposable
timer
(package private) UnicastProcessor<T>
window
(package private) java.lang.Runnable
windowRunnable
-
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) void
cleanupResources()
(package private) void
createFirstWindow()
(package private) void
drain()
void
run()
-
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:
createFirstWindow
in classFlowableWindowTimed.AbstractWindowSubscriber<T>
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
drain
void drain()
- Specified by:
drain
in classFlowableWindowTimed.AbstractWindowSubscriber<T>
-
cleanupResources
void cleanupResources()
- Specified by:
cleanupResources
in classFlowableWindowTimed.AbstractWindowSubscriber<T>
-
-