final class io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver<T> extends io.reactivex.internal.observers.QueueDrainObserver<T, java.lang.Object, io.reactivex.Observable<T>> implements io.reactivex.disposables.Disposable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver
super_class: io.reactivex.internal.observers.QueueDrainObserver
{
final long timespan;
descriptor: J
flags: (0x0010) ACC_FINAL
final java.util.concurrent.TimeUnit unit;
descriptor: Ljava/util/concurrent/TimeUnit;
flags: (0x0010) ACC_FINAL
final io.reactivex.Scheduler scheduler;
descriptor: Lio/reactivex/Scheduler;
flags: (0x0010) ACC_FINAL
final int bufferSize;
descriptor: I
flags: (0x0010) ACC_FINAL
final boolean restartTimerOnMaxSize;
descriptor: Z
flags: (0x0010) ACC_FINAL
final long maxSize;
descriptor: J
flags: (0x0010) ACC_FINAL
final io.reactivex.Scheduler$Worker worker;
descriptor: Lio/reactivex/Scheduler$Worker;
flags: (0x0010) ACC_FINAL
long count;
descriptor: J
flags: (0x0000)
long producerIndex;
descriptor: J
flags: (0x0000)
io.reactivex.disposables.Disposable upstream;
descriptor: Lio/reactivex/disposables/Disposable;
flags: (0x0000)
io.reactivex.subjects.UnicastSubject<T> window;
descriptor: Lio/reactivex/subjects/UnicastSubject;
flags: (0x0000)
Signature: Lio/reactivex/subjects/UnicastSubject<TT;>;
volatile boolean terminated;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
final java.util.concurrent.atomic.AtomicReference<io.reactivex.disposables.Disposable> timer;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/disposables/Disposable;>;
void <init>(io.reactivex.Observer<? super io.reactivex.Observable<T>>, long, java.util.concurrent.TimeUnit, io.reactivex.Scheduler, int, long, );
descriptor: (Lio/reactivex/Observer;JLjava/util/concurrent/TimeUnit;Lio/reactivex/Scheduler;IJZ)V
flags: (0x0000)
Code:
stack=4, locals=10, args_size=8
start local 0 start local 1 start local 2 start local 4 start local 5 start local 6 start local 7 start local 9 0: aload 0
aload 1
new io.reactivex.internal.queue.MpscLinkedQueue
dup
invokespecial io.reactivex.internal.queue.MpscLinkedQueue.<init>:()V
invokespecial io.reactivex.internal.observers.QueueDrainObserver.<init>:(Lio/reactivex/Observer;Lio/reactivex/internal/fuseable/SimplePlainQueue;)V
1: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.timer:Ljava/util/concurrent/atomic/AtomicReference;
2: aload 0
lload 2
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.timespan:J
3: aload 0
aload 4
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.unit:Ljava/util/concurrent/TimeUnit;
4: aload 0
aload 5
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.scheduler:Lio/reactivex/Scheduler;
5: aload 0
iload 6
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.bufferSize:I
6: aload 0
lload 7
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.maxSize:J
7: aload 0
iload 9
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.restartTimerOnMaxSize:Z
8: iload 9
ifeq 11
9: aload 0
aload 5
invokevirtual io.reactivex.Scheduler.createWorker:()Lio/reactivex/Scheduler$Worker;
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.worker:Lio/reactivex/Scheduler$Worker;
10: goto 12
11: StackMap locals: io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver io.reactivex.Observer long java.util.concurrent.TimeUnit io.reactivex.Scheduler int long int
StackMap stack:
aload 0
aconst_null
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.worker:Lio/reactivex/Scheduler$Worker;
12: StackMap locals:
StackMap stack:
return
end local 9 end local 7 end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactBoundedObserver<TT;>;
0 13 1 actual Lio/reactivex/Observer<-Lio/reactivex/Observable<TT;>;>;
0 13 2 timespan J
0 13 4 unit Ljava/util/concurrent/TimeUnit;
0 13 5 scheduler Lio/reactivex/Scheduler;
0 13 6 bufferSize I
0 13 7 maxSize J
0 13 9 restartTimerOnMaxSize Z
Signature: (Lio/reactivex/Observer<-Lio/reactivex/Observable<TT;>;>;JLjava/util/concurrent/TimeUnit;Lio/reactivex/Scheduler;IJZ)V
MethodParameters:
Name Flags
actual
timespan
unit
scheduler
bufferSize
maxSize
restartTimerOnMaxSize
public void onSubscribe(io.reactivex.disposables.Disposable);
descriptor: (Lio/reactivex/disposables/Disposable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.upstream:Lio/reactivex/disposables/Disposable;
aload 1
invokestatic io.reactivex.internal.disposables.DisposableHelper.validate:(Lio/reactivex/disposables/Disposable;Lio/reactivex/disposables/Disposable;)Z
ifeq 15
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.upstream:Lio/reactivex/disposables/Disposable;
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.downstream:Lio/reactivex/Observer;
astore 2
start local 2 3: aload 2
aload 0
invokeinterface io.reactivex.Observer.onSubscribe:(Lio/reactivex/disposables/Disposable;)V
4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.cancelled:Z
ifeq 6
5: return
6: StackMap locals: io.reactivex.Observer
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.bufferSize:I
invokestatic io.reactivex.subjects.UnicastSubject.create:(I)Lio/reactivex/subjects/UnicastSubject;
astore 3
start local 3 7: aload 0
aload 3
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.window:Lio/reactivex/subjects/UnicastSubject;
8: aload 2
aload 3
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
9: new io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver$ConsumerIndexHolder
dup
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.producerIndex:J
aload 0
invokespecial io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver$ConsumerIndexHolder.<init>:(JLio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactBoundedObserver;)V
astore 5
start local 5 10: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.restartTimerOnMaxSize:Z
ifeq 13
11: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.worker:Lio/reactivex/Scheduler$Worker;
aload 5
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.timespan:J
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.timespan:J
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.unit:Ljava/util/concurrent/TimeUnit;
invokevirtual io.reactivex.Scheduler$Worker.schedulePeriodically:(Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Lio/reactivex/disposables/Disposable;
astore 4
start local 4 12: goto 14
end local 4 13: StackMap locals: io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver io.reactivex.disposables.Disposable io.reactivex.Observer io.reactivex.subjects.UnicastSubject top io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver$ConsumerIndexHolder
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.scheduler:Lio/reactivex/Scheduler;
aload 5
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.timespan:J
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.timespan:J
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.unit:Ljava/util/concurrent/TimeUnit;
invokevirtual io.reactivex.Scheduler.schedulePeriodicallyDirect:(Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Lio/reactivex/disposables/Disposable;
astore 4
start local 4 14: StackMap locals: io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver io.reactivex.disposables.Disposable io.reactivex.Observer io.reactivex.subjects.UnicastSubject io.reactivex.disposables.Disposable io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver$ConsumerIndexHolder
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.timer:Ljava/util/concurrent/atomic/AtomicReference;
aload 4
invokestatic io.reactivex.internal.disposables.DisposableHelper.replace:(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/Disposable;)Z
pop
end local 5 end local 4 end local 3 end local 2 15: StackMap locals: io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver io.reactivex.disposables.Disposable
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactBoundedObserver<TT;>;
0 16 1 d Lio/reactivex/disposables/Disposable;
3 15 2 a Lio/reactivex/Observer<-Lio/reactivex/Observable<TT;>;>;
7 15 3 w Lio/reactivex/subjects/UnicastSubject<TT;>;
12 13 4 task Lio/reactivex/disposables/Disposable;
14 15 4 task Lio/reactivex/disposables/Disposable;
10 15 5 consumerIndexHolder Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactBoundedObserver$ConsumerIndexHolder;
MethodParameters:
Name Flags
d
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.terminated:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.fastEnter:()Z
ifeq 24
3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.window:Lio/reactivex/subjects/UnicastSubject;
astore 2
start local 2 4: aload 2
aload 1
invokevirtual io.reactivex.subjects.UnicastSubject.onNext:(Ljava/lang/Object;)V
5: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.count:J
lconst_1
ladd
lstore 3
start local 3 6: lload 3
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.maxSize:J
lcmp
iflt 21
7: aload 0
dup
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.producerIndex:J
lconst_1
ladd
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.producerIndex:J
8: aload 0
lconst_0
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.count:J
9: aload 2
invokevirtual io.reactivex.subjects.UnicastSubject.onComplete:()V
10: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.bufferSize:I
invokestatic io.reactivex.subjects.UnicastSubject.create:(I)Lio/reactivex/subjects/UnicastSubject;
astore 2
11: aload 0
aload 2
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.window:Lio/reactivex/subjects/UnicastSubject;
12: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.downstream:Lio/reactivex/Observer;
aload 2
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
13: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.restartTimerOnMaxSize:Z
ifeq 22
14: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.timer:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.disposables.Disposable
astore 5
start local 5 15: aload 5
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
16: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.worker:Lio/reactivex/Scheduler$Worker;
17: new io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver$ConsumerIndexHolder
dup
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.producerIndex:J
aload 0
invokespecial io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver$ConsumerIndexHolder.<init>:(JLio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactBoundedObserver;)V
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.timespan:J
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.timespan:J
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.unit:Ljava/util/concurrent/TimeUnit;
18: invokevirtual io.reactivex.Scheduler$Worker.schedulePeriodically:(Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Lio/reactivex/disposables/Disposable;
astore 6
start local 6 19: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.timer:Ljava/util/concurrent/atomic/AtomicReference;
aload 6
invokestatic io.reactivex.internal.disposables.DisposableHelper.replace:(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/Disposable;)Z
pop
end local 6 end local 5 20: goto 22
21: StackMap locals: io.reactivex.subjects.UnicastSubject long
StackMap stack:
aload 0
lload 3
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.count:J
22: StackMap locals:
StackMap stack:
aload 0
iconst_m1
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.leave:(I)I
ifne 27
23: return
end local 3 end local 2 24: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.queue:Lio/reactivex/internal/fuseable/SimplePlainQueue;
aload 1
invokestatic io.reactivex.internal.util.NotificationLite.next:(Ljava/lang/Object;)Ljava/lang/Object;
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.offer:(Ljava/lang/Object;)Z
pop
25: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.enter:()Z
ifne 27
26: return
27: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.drainLoop:()V
28: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactBoundedObserver<TT;>;
0 29 1 t TT;
4 24 2 w Lio/reactivex/subjects/UnicastSubject<TT;>;
6 24 3 c J
15 20 5 tm Lio/reactivex/disposables/Disposable;
19 20 6 task Lio/reactivex/disposables/Disposable;
Signature: (TT;)V
MethodParameters:
Name Flags
t
public void onError(java.lang.Throwable);
descriptor: (Ljava/lang/Throwable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.error:Ljava/lang/Throwable;
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.done:Z
2: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.enter:()Z
ifeq 4
3: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.drainLoop:()V
4: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.downstream:Lio/reactivex/Observer;
aload 1
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
5: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.disposeTimer:()V
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactBoundedObserver<TT;>;
0 7 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.done:Z
1: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.enter:()Z
ifeq 3
2: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.drainLoop:()V
3: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.downstream:Lio/reactivex/Observer;
invokeinterface io.reactivex.Observer.onComplete:()V
4: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.disposeTimer:()V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactBoundedObserver<TT;>;
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.cancelled:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactBoundedObserver<TT;>;
public boolean isDisposed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.cancelled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactBoundedObserver<TT;>;
void disposeTimer();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.timer:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.disposables.DisposableHelper.dispose:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.worker:Lio/reactivex/Scheduler$Worker;
astore 1
start local 1 2: aload 1
ifnull 4
3: aload 1
invokevirtual io.reactivex.Scheduler$Worker.dispose:()V
4: StackMap locals: io.reactivex.Scheduler$Worker
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactBoundedObserver<TT;>;
2 5 1 w Lio/reactivex/Scheduler$Worker;
void drainLoop();
descriptor: ()V
flags: (0x0000)
Code:
stack=7, locals=13, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.queue:Lio/reactivex/internal/fuseable/SimplePlainQueue;
checkcast io.reactivex.internal.queue.MpscLinkedQueue
astore 1
start local 1 1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.downstream:Lio/reactivex/Observer;
astore 2
start local 2 2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.window:Lio/reactivex/subjects/UnicastSubject;
astore 3
start local 3 3: iconst_1
istore 4
start local 4 4: StackMap locals: io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver io.reactivex.internal.queue.MpscLinkedQueue io.reactivex.Observer io.reactivex.subjects.UnicastSubject int
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.terminated:Z
ifeq 9
5: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
6: aload 1
invokevirtual io.reactivex.internal.queue.MpscLinkedQueue.clear:()V
7: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.disposeTimer:()V
8: return
9: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.done:Z
istore 5
start local 5 10: aload 1
invokevirtual io.reactivex.internal.queue.MpscLinkedQueue.poll:()Ljava/lang/Object;
astore 6
start local 6 11: aload 6
ifnonnull 12
iconst_1
goto 13
StackMap locals: int java.lang.Object
StackMap stack:
12: iconst_0
StackMap locals:
StackMap stack: int
13: istore 7
start local 7 14: aload 6
instanceof io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver$ConsumerIndexHolder
istore 8
start local 8 15: iload 5
ifeq 25
iload 7
ifne 16
iload 8
ifeq 25
16: StackMap locals: int int
StackMap stack:
aload 0
aconst_null
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.window:Lio/reactivex/subjects/UnicastSubject;
17: aload 1
invokevirtual io.reactivex.internal.queue.MpscLinkedQueue.clear:()V
18: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.disposeTimer:()V
19: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.error:Ljava/lang/Throwable;
astore 9
start local 9 20: aload 9
ifnull 23
21: aload 3
aload 9
invokevirtual io.reactivex.subjects.UnicastSubject.onError:(Ljava/lang/Throwable;)V
22: goto 24
23: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
invokevirtual io.reactivex.subjects.UnicastSubject.onComplete:()V
24: StackMap locals:
StackMap stack:
return
end local 9 25: StackMap locals:
StackMap stack:
iload 7
ifeq 27
26: goto 56
27: StackMap locals:
StackMap stack:
iload 8
ifeq 36
28: aload 6
checkcast io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver$ConsumerIndexHolder
astore 9
start local 9 29: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.restartTimerOnMaxSize:Z
ifne 30
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.producerIndex:J
aload 9
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver$ConsumerIndexHolder.index:J
lcmp
ifne 4
30: StackMap locals: io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver$ConsumerIndexHolder
StackMap stack:
aload 3
invokevirtual io.reactivex.subjects.UnicastSubject.onComplete:()V
31: aload 0
lconst_0
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.count:J
32: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.bufferSize:I
invokestatic io.reactivex.subjects.UnicastSubject.create:(I)Lio/reactivex/subjects/UnicastSubject;
astore 3
33: aload 0
aload 3
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.window:Lio/reactivex/subjects/UnicastSubject;
34: aload 2
aload 3
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
35: goto 4
end local 9 36: StackMap locals:
StackMap stack:
aload 3
aload 6
invokestatic io.reactivex.internal.util.NotificationLite.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual io.reactivex.subjects.UnicastSubject.onNext:(Ljava/lang/Object;)V
37: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.count:J
lconst_1
ladd
lstore 9
start local 9 38: lload 9
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.maxSize:J
lcmp
iflt 54
39: aload 0
dup
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.producerIndex:J
lconst_1
ladd
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.producerIndex:J
40: aload 0
lconst_0
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.count:J
41: aload 3
invokevirtual io.reactivex.subjects.UnicastSubject.onComplete:()V
42: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.bufferSize:I
invokestatic io.reactivex.subjects.UnicastSubject.create:(I)Lio/reactivex/subjects/UnicastSubject;
astore 3
43: aload 0
aload 3
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.window:Lio/reactivex/subjects/UnicastSubject;
44: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.downstream:Lio/reactivex/Observer;
aload 3
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
45: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.restartTimerOnMaxSize:Z
ifeq 4
46: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.timer:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.disposables.Disposable
astore 11
start local 11 47: aload 11
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
48: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.worker:Lio/reactivex/Scheduler$Worker;
49: new io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver$ConsumerIndexHolder
dup
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.producerIndex:J
aload 0
invokespecial io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver$ConsumerIndexHolder.<init>:(JLio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactBoundedObserver;)V
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.timespan:J
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.timespan:J
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.unit:Ljava/util/concurrent/TimeUnit;
50: invokevirtual io.reactivex.Scheduler$Worker.schedulePeriodically:(Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Lio/reactivex/disposables/Disposable;
astore 12
start local 12 51: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.timer:Ljava/util/concurrent/atomic/AtomicReference;
aload 11
aload 12
invokevirtual java.util.concurrent.atomic.AtomicReference.compareAndSet:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 4
52: aload 12
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
end local 12 end local 11 53: goto 4
54: StackMap locals: long
StackMap stack:
aload 0
lload 9
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.count:J
end local 9 end local 8 end local 7 end local 6 end local 5 55: goto 4
56: StackMap locals: io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver io.reactivex.internal.queue.MpscLinkedQueue io.reactivex.Observer io.reactivex.subjects.UnicastSubject int
StackMap stack:
aload 0
iload 4
ineg
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.leave:(I)I
istore 4
57: iload 4
ifne 4
58: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 59 0 this Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactBoundedObserver<TT;>;
1 59 1 q Lio/reactivex/internal/queue/MpscLinkedQueue<Ljava/lang/Object;>;
2 59 2 a Lio/reactivex/Observer<-Lio/reactivex/Observable<TT;>;>;
3 59 3 w Lio/reactivex/subjects/UnicastSubject<TT;>;
4 59 4 missed I
10 55 5 d Z
11 55 6 o Ljava/lang/Object;
14 55 7 empty Z
15 55 8 isHolder Z
20 25 9 err Ljava/lang/Throwable;
29 36 9 consumerIndexHolder Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactBoundedObserver$ConsumerIndexHolder;
38 55 9 c J
47 53 11 tm Lio/reactivex/disposables/Disposable;
51 53 12 task Lio/reactivex/disposables/Disposable;
static boolean access$0(io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver);
descriptor: (Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactBoundedObserver;)Z
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.cancelled:Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
static io.reactivex.internal.fuseable.SimplePlainQueue access$1(io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver);
descriptor: (Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactBoundedObserver;)Lio/reactivex/internal/fuseable/SimplePlainQueue;
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver.queue:Lio/reactivex/internal/fuseable/SimplePlainQueue;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Ljava/lang/Object;>Lio/reactivex/internal/observers/QueueDrainObserver<TT;Ljava/lang/Object;Lio/reactivex/Observable<TT;>;>;Lio/reactivex/disposables/Disposable;
SourceFile: "ObservableWindowTimed.java"
NestHost: io.reactivex.internal.operators.observable.ObservableWindowTimed
InnerClasses:
public abstract Worker = io.reactivex.Scheduler$Worker of io.reactivex.Scheduler
final WindowExactBoundedObserver = io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver of io.reactivex.internal.operators.observable.ObservableWindowTimed
final ConsumerIndexHolder = io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver$ConsumerIndexHolder of io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactBoundedObserver