Class FlowableWindowTimed.WindowSkipSubscriber<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.WindowSkipSubscriber<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.WindowSkipSubscriber<T> extends FlowableWindowTimed.AbstractWindowSubscriber<T> implements java.lang.Runnable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
FlowableWindowTimed.WindowSkipSubscriber.WindowBoundaryRunnable
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
(package private) long
timeskip
(package private) static java.lang.Object
WINDOW_CLOSE
(package private) static java.lang.Object
WINDOW_OPEN
(package private) java.util.List<UnicastProcessor<T>>
windows
(package private) Scheduler.Worker
worker
-
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 WindowSkipSubscriber(org.reactivestreams.Subscriber<? super Flowable<T>> actual, long timespan, long timeskip, java.util.concurrent.TimeUnit unit, Scheduler.Worker worker, int bufferSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
boundary(boolean isOpen)
(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
-
timeskip
final long timeskip
-
worker
final Scheduler.Worker worker
-
windows
final java.util.List<UnicastProcessor<T>> windows
-
WINDOW_OPEN
static final java.lang.Object WINDOW_OPEN
-
WINDOW_CLOSE
static final java.lang.Object WINDOW_CLOSE
-
-
Constructor Detail
-
WindowSkipSubscriber
WindowSkipSubscriber(org.reactivestreams.Subscriber<? super Flowable<T>> actual, long timespan, long timeskip, java.util.concurrent.TimeUnit unit, Scheduler.Worker worker, int bufferSize)
-
-
Method Detail
-
createFirstWindow
void createFirstWindow()
- Specified by:
createFirstWindow
in classFlowableWindowTimed.AbstractWindowSubscriber<T>
-
cleanupResources
void cleanupResources()
- Specified by:
cleanupResources
in classFlowableWindowTimed.AbstractWindowSubscriber<T>
-
drain
void drain()
- Specified by:
drain
in classFlowableWindowTimed.AbstractWindowSubscriber<T>
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
boundary
void boundary(boolean isOpen)
-
-