final class io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver<T> extends java.util.concurrent.atomic.AtomicBoolean implements io.reactivex.Observer<T>, io.reactivex.disposables.Disposable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver
super_class: java.util.concurrent.atomic.AtomicBoolean
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -5677354903406201275
final io.reactivex.Observer<? super T> downstream;
descriptor: Lio/reactivex/Observer;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/Observer<-TT;>;
final long count;
descriptor: J
flags: (0x0010) ACC_FINAL
final long time;
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 io.reactivex.internal.queue.SpscLinkedArrayQueue<java.lang.Object> queue;
descriptor: Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/internal/queue/SpscLinkedArrayQueue<Ljava/lang/Object;>;
final boolean delayError;
descriptor: Z
flags: (0x0010) ACC_FINAL
io.reactivex.disposables.Disposable upstream;
descriptor: Lio/reactivex/disposables/Disposable;
flags: (0x0000)
volatile boolean cancelled;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
java.lang.Throwable error;
descriptor: Ljava/lang/Throwable;
flags: (0x0000)
void <init>(io.reactivex.Observer<? super T>, long, long, java.util.concurrent.TimeUnit, io.reactivex.Scheduler, int, );
descriptor: (Lio/reactivex/Observer;JJLjava/util/concurrent/TimeUnit;Lio/reactivex/Scheduler;IZ)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 6 start local 7 start local 8 start local 9 0: aload 0
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.downstream:Lio/reactivex/Observer;
2: aload 0
lload 2
putfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.count:J
3: aload 0
lload 4
putfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.time:J
4: aload 0
aload 6
putfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.unit:Ljava/util/concurrent/TimeUnit;
5: aload 0
aload 7
putfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.scheduler:Lio/reactivex/Scheduler;
6: aload 0
new io.reactivex.internal.queue.SpscLinkedArrayQueue
dup
iload 8
invokespecial io.reactivex.internal.queue.SpscLinkedArrayQueue.<init>:(I)V
putfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.queue:Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
7: aload 0
iload 9
putfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.delayError:Z
8: return
end local 9 end local 8 end local 7 end local 6 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/internal/operators/observable/ObservableTakeLastTimed$TakeLastTimedObserver<TT;>;
0 9 1 actual Lio/reactivex/Observer<-TT;>;
0 9 2 count J
0 9 4 time J
0 9 6 unit Ljava/util/concurrent/TimeUnit;
0 9 7 scheduler Lio/reactivex/Scheduler;
0 9 8 bufferSize I
0 9 9 delayError Z
Signature: (Lio/reactivex/Observer<-TT;>;JJLjava/util/concurrent/TimeUnit;Lio/reactivex/Scheduler;IZ)V
MethodParameters:
Name Flags
actual
count
time
unit
scheduler
bufferSize
delayError
public void onSubscribe(io.reactivex.disposables.Disposable);
descriptor: (Lio/reactivex/disposables/Disposable;)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.ObservableTakeLastTimed$TakeLastTimedObserver.upstream:Lio/reactivex/disposables/Disposable;
aload 1
invokestatic io.reactivex.internal.disposables.DisposableHelper.validate:(Lio/reactivex/disposables/Disposable;Lio/reactivex/disposables/Disposable;)Z
ifeq 3
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.upstream:Lio/reactivex/disposables/Disposable;
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.downstream:Lio/reactivex/Observer;
aload 0
invokeinterface io.reactivex.Observer.onSubscribe:(Lio/reactivex/disposables/Disposable;)V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/observable/ObservableTakeLastTimed$TakeLastTimedObserver<TT;>;
0 4 1 d Lio/reactivex/disposables/Disposable;
MethodParameters:
Name Flags
d
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=12, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.queue:Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
astore 2
start local 2 1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.scheduler:Lio/reactivex/Scheduler;
aload 0
getfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.unit:Ljava/util/concurrent/TimeUnit;
invokevirtual io.reactivex.Scheduler.now:(Ljava/util/concurrent/TimeUnit;)J
lstore 3
start local 3 2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.time:J
lstore 5
start local 5 3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.count:J
lstore 7
start local 7 4: lload 7
ldc 9223372036854775807
lcmp
ifne 5
iconst_1
goto 6
StackMap locals: io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver java.lang.Object io.reactivex.internal.queue.SpscLinkedArrayQueue long long long
StackMap stack:
5: iconst_0
StackMap locals:
StackMap stack: int
6: istore 9
start local 9 7: aload 2
lload 3
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aload 1
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.offer:(Ljava/lang/Object;Ljava/lang/Object;)Z
pop
8: goto 13
9: StackMap locals: int
StackMap stack:
aload 2
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.peek:()Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lstore 10
start local 10 10: lload 10
lload 3
lload 5
lsub
lcmp
ifle 11
iload 9
ifne 14
aload 2
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.size:()I
iconst_1
ishr
i2l
lload 7
lcmp
ifle 14
11: StackMap locals: long
StackMap stack:
aload 2
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.poll:()Ljava/lang/Object;
pop
12: aload 2
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.poll:()Ljava/lang/Object;
pop
end local 10 13: StackMap locals:
StackMap stack:
aload 2
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.isEmpty:()Z
ifeq 9
14: StackMap locals:
StackMap stack:
return
end local 9 end local 7 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/reactivex/internal/operators/observable/ObservableTakeLastTimed$TakeLastTimedObserver<TT;>;
0 15 1 t TT;
1 15 2 q Lio/reactivex/internal/queue/SpscLinkedArrayQueue<Ljava/lang/Object;>;
2 15 3 now J
3 15 5 time J
4 15 7 c J
7 15 9 unbounded Z
10 13 10 ts J
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.ObservableTakeLastTimed$TakeLastTimedObserver.error:Ljava/lang/Throwable;
1: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.drain:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/observable/ObservableTakeLastTimed$TakeLastTimedObserver<TT;>;
0 3 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.drain:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/reactivex/internal/operators/observable/ObservableTakeLastTimed$TakeLastTimedObserver<TT;>;
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.cancelled:Z
ifne 5
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.cancelled:Z
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.upstream:Lio/reactivex/disposables/Disposable;
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
3: aload 0
iconst_0
iconst_1
invokevirtual io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.compareAndSet:(ZZ)Z
ifeq 5
4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.queue:Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.clear:()V
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/observable/ObservableTakeLastTimed$TakeLastTimedObserver<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.ObservableTakeLastTimed$TakeLastTimedObserver.cancelled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservableTakeLastTimed$TakeLastTimedObserver<TT;>;
void drain();
descriptor: ()V
flags: (0x0000)
Code:
stack=6, locals=7, args_size=1
start local 0 0: aload 0
iconst_0
iconst_1
invokevirtual io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.compareAndSet:(ZZ)Z
ifne 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.downstream:Lio/reactivex/Observer;
astore 1
start local 1 3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.queue:Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
astore 2
start local 2 4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.delayError:Z
istore 3
start local 3 5: StackMap locals: io.reactivex.Observer io.reactivex.internal.queue.SpscLinkedArrayQueue int
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.cancelled:Z
ifeq 8
6: aload 2
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.clear:()V
7: return
8: StackMap locals:
StackMap stack:
iload 3
ifne 14
9: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.error:Ljava/lang/Throwable;
astore 4
start local 4 10: aload 4
ifnull 14
11: aload 2
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.clear:()V
12: aload 1
aload 4
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
13: return
end local 4 14: StackMap locals:
StackMap stack:
aload 2
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.poll:()Ljava/lang/Object;
astore 4
start local 4 15: aload 4
ifnonnull 16
iconst_1
goto 17
StackMap locals: java.lang.Object
StackMap stack:
16: iconst_0
StackMap locals:
StackMap stack: int
17: istore 5
start local 5 18: iload 5
ifeq 25
19: aload 0
getfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.error:Ljava/lang/Throwable;
astore 6
start local 6 20: aload 6
ifnull 23
21: aload 1
aload 6
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
22: goto 24
23: StackMap locals: int java.lang.Throwable
StackMap stack:
aload 1
invokeinterface io.reactivex.Observer.onComplete:()V
24: StackMap locals:
StackMap stack:
return
end local 6 25: StackMap locals:
StackMap stack:
aload 2
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.poll:()Ljava/lang/Object;
astore 6
start local 6 26: aload 4
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
aload 0
getfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.scheduler:Lio/reactivex/Scheduler;
aload 0
getfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.unit:Ljava/util/concurrent/TimeUnit;
invokevirtual io.reactivex.Scheduler.now:(Ljava/util/concurrent/TimeUnit;)J
aload 0
getfield io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver.time:J
lsub
lcmp
ifge 28
27: goto 5
28: StackMap locals: java.lang.Object
StackMap stack:
aload 1
aload 6
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
end local 6 end local 5 end local 4 29: goto 5
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lio/reactivex/internal/operators/observable/ObservableTakeLastTimed$TakeLastTimedObserver<TT;>;
3 30 1 a Lio/reactivex/Observer<-TT;>;
4 30 2 q Lio/reactivex/internal/queue/SpscLinkedArrayQueue<Ljava/lang/Object;>;
5 30 3 delayError Z
10 14 4 ex Ljava/lang/Throwable;
15 29 4 ts Ljava/lang/Object;
18 29 5 empty Z
20 25 6 ex Ljava/lang/Throwable;
26 29 6 o TT;
}
Signature: <T:Ljava/lang/Object;>Ljava/util/concurrent/atomic/AtomicBoolean;Lio/reactivex/Observer<TT;>;Lio/reactivex/disposables/Disposable;
SourceFile: "ObservableTakeLastTimed.java"
NestHost: io.reactivex.internal.operators.observable.ObservableTakeLastTimed
InnerClasses:
final TakeLastTimedObserver = io.reactivex.internal.operators.observable.ObservableTakeLastTimed$TakeLastTimedObserver of io.reactivex.internal.operators.observable.ObservableTakeLastTimed