final class io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver<T> extends io.reactivex.internal.observers.QueueDrainObserver<T, java.lang.Object, io.reactivex.Observable<T>> implements io.reactivex.Observer<T>, io.reactivex.disposables.Disposable, java.lang.Runnable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver
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
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;>;
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;>;
static final java.lang.Object NEXT;
descriptor: Ljava/lang/Object;
flags: (0x0018) ACC_STATIC, ACC_FINAL
volatile boolean terminated;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.NEXT:Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(io.reactivex.Observer<? super io.reactivex.Observable<T>>, long, java.util.concurrent.TimeUnit, io.reactivex.Scheduler, );
descriptor: (Lio/reactivex/Observer;JLjava/util/concurrent/TimeUnit;Lio/reactivex/Scheduler;I)V
flags: (0x0000)
Code:
stack=4, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 4 start local 5 start local 6 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$WindowExactUnboundedObserver.timer:Ljava/util/concurrent/atomic/AtomicReference;
2: aload 0
lload 2
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.timespan:J
3: aload 0
aload 4
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.unit:Ljava/util/concurrent/TimeUnit;
4: aload 0
aload 5
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.scheduler:Lio/reactivex/Scheduler;
5: aload 0
iload 6
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.bufferSize:I
6: return
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 7 0 this Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactUnboundedObserver<TT;>;
0 7 1 actual Lio/reactivex/Observer<-Lio/reactivex/Observable<TT;>;>;
0 7 2 timespan J
0 7 4 unit Ljava/util/concurrent/TimeUnit;
0 7 5 scheduler Lio/reactivex/Scheduler;
0 7 6 bufferSize I
Signature: (Lio/reactivex/Observer<-Lio/reactivex/Observable<TT;>;>;JLjava/util/concurrent/TimeUnit;Lio/reactivex/Scheduler;I)V
MethodParameters:
Name Flags
actual
timespan
unit
scheduler
bufferSize
public void onSubscribe(io.reactivex.disposables.Disposable);
descriptor: (Lio/reactivex/disposables/Disposable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.upstream:Lio/reactivex/disposables/Disposable;
aload 1
invokestatic io.reactivex.internal.disposables.DisposableHelper.validate:(Lio/reactivex/disposables/Disposable;Lio/reactivex/disposables/Disposable;)Z
ifeq 9
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.upstream:Lio/reactivex/disposables/Disposable;
2: aload 0
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.bufferSize:I
invokestatic io.reactivex.subjects.UnicastSubject.create:(I)Lio/reactivex/subjects/UnicastSubject;
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.window:Lio/reactivex/subjects/UnicastSubject;
3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.downstream:Lio/reactivex/Observer;
astore 2
start local 2 4: aload 2
aload 0
invokeinterface io.reactivex.Observer.onSubscribe:(Lio/reactivex/disposables/Disposable;)V
5: aload 2
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.window:Lio/reactivex/subjects/UnicastSubject;
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
6: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.cancelled:Z
ifne 9
7: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.scheduler:Lio/reactivex/Scheduler;
aload 0
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.timespan:J
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.timespan:J
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.unit:Ljava/util/concurrent/TimeUnit;
invokevirtual io.reactivex.Scheduler.schedulePeriodicallyDirect:(Ljava/lang/Runnable;JJLjava/util/concurrent/TimeUnit;)Lio/reactivex/disposables/Disposable;
astore 3
start local 3 8: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.timer:Ljava/util/concurrent/atomic/AtomicReference;
aload 3
invokestatic io.reactivex.internal.disposables.DisposableHelper.replace:(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/Disposable;)Z
pop
end local 3 end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactUnboundedObserver<TT;>;
0 10 1 d Lio/reactivex/disposables/Disposable;
4 9 2 a Lio/reactivex/Observer<-Lio/reactivex/Observable<TT;>;>;
8 9 3 task Lio/reactivex/disposables/Disposable;
MethodParameters:
Name Flags
d
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.terminated:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.fastEnter:()Z
ifeq 6
3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.window:Lio/reactivex/subjects/UnicastSubject;
aload 1
invokevirtual io.reactivex.subjects.UnicastSubject.onNext:(Ljava/lang/Object;)V
4: aload 0
iconst_m1
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.leave:(I)I
ifne 9
5: return
6: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.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
7: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.enter:()Z
ifne 9
8: return
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.drainLoop:()V
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactUnboundedObserver<TT;>;
0 11 1 t TT;
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$WindowExactUnboundedObserver.error:Ljava/lang/Throwable;
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.done:Z
2: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.enter:()Z
ifeq 4
3: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.drainLoop:()V
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.disposeTimer:()V
5: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.downstream:Lio/reactivex/Observer;
aload 1
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)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$WindowExactUnboundedObserver<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$WindowExactUnboundedObserver.done:Z
1: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.enter:()Z
ifeq 3
2: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.drainLoop:()V
3: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.disposeTimer:()V
4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.downstream:Lio/reactivex/Observer;
invokeinterface io.reactivex.Observer.onComplete:()V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactUnboundedObserver<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$WindowExactUnboundedObserver.cancelled:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactUnboundedObserver<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$WindowExactUnboundedObserver.cancelled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactUnboundedObserver<TT;>;
void disposeTimer();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.timer:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.disposables.DisposableHelper.dispose:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactUnboundedObserver<TT;>;
public void run();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.cancelled:Z
ifeq 3
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.terminated:Z
2: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.disposeTimer:()V
3: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.queue:Lio/reactivex/internal/fuseable/SimplePlainQueue;
getstatic io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.NEXT:Ljava/lang/Object;
invokeinterface io.reactivex.internal.fuseable.SimplePlainQueue.offer:(Ljava/lang/Object;)Z
pop
4: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.enter:()Z
ifeq 6
5: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.drainLoop:()V
6: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactUnboundedObserver<TT;>;
void drainLoop();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=9, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.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$WindowExactUnboundedObserver.downstream:Lio/reactivex/Observer;
astore 2
start local 2 2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.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$WindowExactUnboundedObserver io.reactivex.internal.queue.MpscLinkedQueue io.reactivex.Observer io.reactivex.subjects.UnicastSubject int
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.terminated:Z
istore 5
start local 5 5: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.done:Z
istore 6
start local 6 6: aload 1
invokevirtual io.reactivex.internal.queue.MpscLinkedQueue.poll:()Ljava/lang/Object;
astore 7
start local 7 7: iload 6
ifeq 17
aload 7
ifnull 8
aload 7
getstatic io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.NEXT:Ljava/lang/Object;
if_acmpne 17
8: StackMap locals: int int java.lang.Object
StackMap stack:
aload 0
aconst_null
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.window:Lio/reactivex/subjects/UnicastSubject;
9: aload 1
invokevirtual io.reactivex.internal.queue.MpscLinkedQueue.clear:()V
10: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.disposeTimer:()V
11: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.error:Ljava/lang/Throwable;
astore 8
start local 8 12: aload 8
ifnull 15
13: aload 3
aload 8
invokevirtual io.reactivex.subjects.UnicastSubject.onError:(Ljava/lang/Throwable;)V
14: goto 16
15: StackMap locals: java.lang.Throwable
StackMap stack:
aload 3
invokevirtual io.reactivex.subjects.UnicastSubject.onComplete:()V
16: StackMap locals:
StackMap stack:
return
end local 8 17: StackMap locals:
StackMap stack:
aload 7
ifnonnull 19
18: goto 30
19: StackMap locals:
StackMap stack:
aload 7
getstatic io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.NEXT:Ljava/lang/Object;
if_acmpne 28
20: aload 3
invokevirtual io.reactivex.subjects.UnicastSubject.onComplete:()V
21: iload 5
ifne 26
22: aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.bufferSize:I
invokestatic io.reactivex.subjects.UnicastSubject.create:(I)Lio/reactivex/subjects/UnicastSubject;
astore 3
23: aload 0
aload 3
putfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.window:Lio/reactivex/subjects/UnicastSubject;
24: aload 2
aload 3
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
25: goto 4
26: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
27: goto 4
28: StackMap locals:
StackMap stack:
aload 3
aload 7
invokestatic io.reactivex.internal.util.NotificationLite.getValue:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual io.reactivex.subjects.UnicastSubject.onNext:(Ljava/lang/Object;)V
end local 7 end local 6 end local 5 29: goto 4
30: StackMap locals:
StackMap stack:
aload 0
iload 4
ineg
invokevirtual io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver.leave:(I)I
istore 4
31: iload 4
ifne 4
32: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 33 0 this Lio/reactivex/internal/operators/observable/ObservableWindowTimed$WindowExactUnboundedObserver<TT;>;
1 33 1 q Lio/reactivex/internal/queue/MpscLinkedQueue<Ljava/lang/Object;>;
2 33 2 a Lio/reactivex/Observer<-Lio/reactivex/Observable<TT;>;>;
3 33 3 w Lio/reactivex/subjects/UnicastSubject<TT;>;
4 33 4 missed I
5 29 5 term Z
6 29 6 d Z
7 29 7 o Ljava/lang/Object;
12 17 8 err Ljava/lang/Throwable;
}
Signature: <T:Ljava/lang/Object;>Lio/reactivex/internal/observers/QueueDrainObserver<TT;Ljava/lang/Object;Lio/reactivex/Observable<TT;>;>;Lio/reactivex/Observer<TT;>;Lio/reactivex/disposables/Disposable;Ljava/lang/Runnable;
SourceFile: "ObservableWindowTimed.java"
NestHost: io.reactivex.internal.operators.observable.ObservableWindowTimed
InnerClasses:
final WindowExactUnboundedObserver = io.reactivex.internal.operators.observable.ObservableWindowTimed$WindowExactUnboundedObserver of io.reactivex.internal.operators.observable.ObservableWindowTimed