final class io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver<T, C extends java.util.Collection<? super T>, Open, Close> extends java.util.concurrent.atomic.AtomicInteger 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.ObservableBufferBoundary$BufferBoundaryObserver
super_class: java.util.concurrent.atomic.AtomicInteger
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -8466418554264089604
final io.reactivex.Observer<? super C> downstream;
descriptor: Lio/reactivex/Observer;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/Observer<-TC;>;
final java.util.concurrent.Callable<C> bufferSupplier;
descriptor: Ljava/util/concurrent/Callable;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/Callable<TC;>;
final io.reactivex.ObservableSource<? extends Open> bufferOpen;
descriptor: Lio/reactivex/ObservableSource;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/ObservableSource<+TOpen;>;
final io.reactivex.functions.Function<? super Open, ? extends io.reactivex.ObservableSource<? extends Close>> bufferClose;
descriptor: Lio/reactivex/functions/Function;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/Function<-TOpen;+Lio/reactivex/ObservableSource<+TClose;>;>;
final io.reactivex.disposables.CompositeDisposable observers;
descriptor: Lio/reactivex/disposables/CompositeDisposable;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicReference<io.reactivex.disposables.Disposable> upstream;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lio/reactivex/disposables/Disposable;>;
final io.reactivex.internal.util.AtomicThrowable errors;
descriptor: Lio/reactivex/internal/util/AtomicThrowable;
flags: (0x0010) ACC_FINAL
volatile boolean done;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
final io.reactivex.internal.queue.SpscLinkedArrayQueue<C> queue;
descriptor: Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TC;>;
volatile boolean cancelled;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
long index;
descriptor: J
flags: (0x0000)
java.util.Map<java.lang.Long, C> buffers;
descriptor: Ljava/util/Map;
flags: (0x0000)
Signature: Ljava/util/Map<Ljava/lang/Long;TC;>;
void <init>(io.reactivex.Observer<? super C>, io.reactivex.ObservableSource<? extends Open>, io.reactivex.functions.Function<? super Open, ? extends io.reactivex.ObservableSource<? extends Close>>, java.util.concurrent.Callable<C>);
descriptor: (Lio/reactivex/Observer;Lio/reactivex/ObservableSource;Lio/reactivex/functions/Function;Ljava/util/concurrent/Callable;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.downstream:Lio/reactivex/Observer;
2: aload 0
aload 4
putfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.bufferSupplier:Ljava/util/concurrent/Callable;
3: aload 0
aload 2
putfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.bufferOpen:Lio/reactivex/ObservableSource;
4: aload 0
aload 3
putfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.bufferClose:Lio/reactivex/functions/Function;
5: aload 0
new io.reactivex.internal.queue.SpscLinkedArrayQueue
dup
invokestatic io.reactivex.internal.operators.observable.ObservableBufferBoundary.bufferSize:()I
invokespecial io.reactivex.internal.queue.SpscLinkedArrayQueue.<init>:(I)V
putfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.queue:Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
6: aload 0
new io.reactivex.disposables.CompositeDisposable
dup
invokespecial io.reactivex.disposables.CompositeDisposable.<init>:()V
putfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.observers:Lio/reactivex/disposables/CompositeDisposable;
7: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.upstream:Ljava/util/concurrent/atomic/AtomicReference;
8: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.buffers:Ljava/util/Map;
9: aload 0
new io.reactivex.internal.util.AtomicThrowable
dup
invokespecial io.reactivex.internal.util.AtomicThrowable.<init>:()V
putfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.errors:Lio/reactivex/internal/util/AtomicThrowable;
10: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferBoundaryObserver<TT;TC;TOpen;TClose;>;
0 11 1 actual Lio/reactivex/Observer<-TC;>;
0 11 2 bufferOpen Lio/reactivex/ObservableSource<+TOpen;>;
0 11 3 bufferClose Lio/reactivex/functions/Function<-TOpen;+Lio/reactivex/ObservableSource<+TClose;>;>;
0 11 4 bufferSupplier Ljava/util/concurrent/Callable<TC;>;
Signature: (Lio/reactivex/Observer<-TC;>;Lio/reactivex/ObservableSource<+TOpen;>;Lio/reactivex/functions/Function<-TOpen;+Lio/reactivex/ObservableSource<+TClose;>;>;Ljava/util/concurrent/Callable<TC;>;)V
MethodParameters:
Name Flags
actual
bufferOpen
bufferClose
bufferSupplier
public void onSubscribe(io.reactivex.disposables.Disposable);
descriptor: (Lio/reactivex/disposables/Disposable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.upstream:Ljava/util/concurrent/atomic/AtomicReference;
aload 1
invokestatic io.reactivex.internal.disposables.DisposableHelper.setOnce:(Ljava/util/concurrent/atomic/AtomicReference;Lio/reactivex/disposables/Disposable;)Z
ifeq 4
1: new io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver$BufferOpenObserver
dup
aload 0
invokespecial io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver$BufferOpenObserver.<init>:(Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferBoundaryObserver;)V
astore 2
start local 2 2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.observers:Lio/reactivex/disposables/CompositeDisposable;
aload 2
invokevirtual io.reactivex.disposables.CompositeDisposable.add:(Lio/reactivex/disposables/Disposable;)Z
pop
3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.bufferOpen:Lio/reactivex/ObservableSource;
aload 2
invokeinterface io.reactivex.ObservableSource.subscribe:(Lio/reactivex/Observer;)V
end local 2 4: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferBoundaryObserver<TT;TC;TOpen;TClose;>;
0 5 1 d Lio/reactivex/disposables/Disposable;
2 4 2 open Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferBoundaryObserver$BufferOpenObserver<TOpen;>;
MethodParameters:
Name Flags
d
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.buffers:Ljava/util/Map;
astore 3
start local 3 2: aload 3
ifnonnull 5
3: aload 2
monitorexit
4: return
5: StackMap locals: io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver java.util.Map
StackMap stack:
aload 3
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 5
goto 8
StackMap locals: io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver java.lang.Object io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver java.util.Map top java.util.Iterator
StackMap stack:
6: aload 5
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Collection
astore 4
start local 4 7: aload 4
aload 1
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 4 8: StackMap locals:
StackMap stack:
aload 5
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
end local 3 9: aload 2
monitorexit
10: goto 13
StackMap locals: io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver java.lang.Object io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver
StackMap stack: java.lang.Throwable
11: aload 2
monitorexit
12: athrow
13: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferBoundaryObserver<TT;TC;TOpen;TClose;>;
0 14 1 t TT;
2 9 3 bufs Ljava/util/Map<Ljava/lang/Long;TC;>;
7 8 4 b TC;
Exception table:
from to target type
1 4 11 any
5 10 11 any
11 12 11 any
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=3, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.errors:Lio/reactivex/internal/util/AtomicThrowable;
aload 1
invokevirtual io.reactivex.internal.util.AtomicThrowable.addThrowable:(Ljava/lang/Throwable;)Z
ifeq 11
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.observers:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.dispose:()V
2: aload 0
dup
astore 2
monitorenter
3: aload 0
aconst_null
putfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.buffers:Ljava/util/Map;
4: aload 2
monitorexit
5: goto 8
StackMap locals: io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver java.lang.Throwable io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver
StackMap stack: java.lang.Throwable
6: aload 2
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.done:Z
9: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.drain:()V
10: goto 12
11: StackMap locals:
StackMap stack:
aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferBoundaryObserver<TT;TC;TOpen;TClose;>;
0 13 1 t Ljava/lang/Throwable;
Exception table:
from to target type
3 5 6 any
6 7 6 any
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.observers:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.dispose:()V
1: aload 0
dup
astore 1
monitorenter
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.buffers:Ljava/util/Map;
astore 2
start local 2 3: aload 2
ifnonnull 6
4: aload 1
monitorexit
5: return
6: StackMap locals: io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver java.util.Map
StackMap stack:
aload 2
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 9
StackMap locals: io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver java.util.Map top java.util.Iterator
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Collection
astore 3
start local 3 8: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.queue:Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
aload 3
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.offer:(Ljava/lang/Object;)Z
pop
end local 3 9: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: aload 0
aconst_null
putfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.buffers:Ljava/util/Map;
end local 2 11: aload 1
monitorexit
12: goto 15
StackMap locals: io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver
StackMap stack: java.lang.Throwable
13: aload 1
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.done:Z
16: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.drain:()V
17: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferBoundaryObserver<TT;TC;TOpen;TClose;>;
3 11 2 bufs Ljava/util/Map<Ljava/lang/Long;TC;>;
8 9 3 b TC;
Exception table:
from to target type
2 5 13 any
6 12 13 any
13 14 13 any
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.upstream:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.disposables.DisposableHelper.dispose:(Ljava/util/concurrent/atomic/AtomicReference;)Z
ifeq 11
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.cancelled:Z
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.observers:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.dispose:()V
3: aload 0
dup
astore 1
monitorenter
4: aload 0
aconst_null
putfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.buffers:Ljava/util/Map;
5: aload 1
monitorexit
6: goto 9
StackMap locals: io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver
StackMap stack: java.lang.Throwable
7: aload 1
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.getAndIncrement:()I
ifeq 11
10: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.queue:Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.clear:()V
11: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferBoundaryObserver<TT;TC;TOpen;TClose;>;
Exception table:
from to target type
4 6 7 any
7 8 7 any
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.ObservableBufferBoundary$BufferBoundaryObserver.upstream:Ljava/util/concurrent/atomic/AtomicReference;
invokevirtual java.util.concurrent.atomic.AtomicReference.get:()Ljava/lang/Object;
checkcast io.reactivex.disposables.Disposable
invokestatic io.reactivex.internal.disposables.DisposableHelper.isDisposed:(Lio/reactivex/disposables/Disposable;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferBoundaryObserver<TT;TC;TOpen;TClose;>;
void open();
descriptor: (Ljava/lang/Object;)V
flags: (0x0000)
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.bufferSupplier:Ljava/util/concurrent/Callable;
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
checkcast java.util.Collection
ldc "The bufferSupplier returned a null Collection"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.Collection
astore 3
start local 3 1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.bufferClose:Lio/reactivex/functions/Function;
aload 1
invokeinterface io.reactivex.functions.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.reactivex.ObservableSource
ldc "The bufferClose returned a null ObservableSource"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast io.reactivex.ObservableSource
astore 2
start local 2 2: goto 8
end local 3 end local 2 StackMap locals:
StackMap stack: java.lang.Throwable
3: astore 4
start local 4 4: aload 4
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
5: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.upstream:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.disposables.DisposableHelper.dispose:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
6: aload 0
aload 4
invokevirtual io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.onError:(Ljava/lang/Throwable;)V
7: return
end local 4 start local 2 start local 3 8: StackMap locals: io.reactivex.ObservableSource java.util.Collection
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.index:J
lstore 4
start local 4 9: aload 0
lload 4
lconst_1
ladd
putfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.index:J
10: aload 0
dup
astore 6
monitorenter
11: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.buffers:Ljava/util/Map;
astore 7
start local 7 12: aload 7
ifnonnull 15
13: aload 6
monitorexit
14: return
15: StackMap locals: long io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver java.util.Map
StackMap stack:
aload 7
lload 4
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 7 16: aload 6
monitorexit
17: goto 20
StackMap locals: io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver java.lang.Object io.reactivex.ObservableSource java.util.Collection long io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver
StackMap stack: java.lang.Throwable
18: aload 6
monitorexit
19: athrow
20: StackMap locals:
StackMap stack:
new io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferCloseObserver
dup
aload 0
lload 4
invokespecial io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferCloseObserver.<init>:(Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferBoundaryObserver;J)V
astore 6
start local 6 21: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.observers:Lio/reactivex/disposables/CompositeDisposable;
aload 6
invokevirtual io.reactivex.disposables.CompositeDisposable.add:(Lio/reactivex/disposables/Disposable;)Z
pop
22: aload 2
aload 6
invokeinterface io.reactivex.ObservableSource.subscribe:(Lio/reactivex/Observer;)V
23: return
end local 6 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferBoundaryObserver<TT;TC;TOpen;TClose;>;
0 24 1 token TOpen;
2 3 2 p Lio/reactivex/ObservableSource<+TClose;>;
8 24 2 p Lio/reactivex/ObservableSource<+TClose;>;
1 3 3 buf TC;
8 24 3 buf TC;
4 8 4 ex Ljava/lang/Throwable;
9 24 4 idx J
12 16 7 bufs Ljava/util/Map<Ljava/lang/Long;TC;>;
21 24 6 bc Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferCloseObserver<TT;TC;>;
Exception table:
from to target type
0 2 3 Class java.lang.Throwable
11 14 18 any
15 17 18 any
18 19 18 any
Signature: (TOpen;)V
MethodParameters:
Name Flags
token
void openComplete(io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver$BufferOpenObserver<Open>);
descriptor: (Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferBoundaryObserver$BufferOpenObserver;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.observers:Lio/reactivex/disposables/CompositeDisposable;
aload 1
invokevirtual io.reactivex.disposables.CompositeDisposable.delete:(Lio/reactivex/disposables/Disposable;)Z
pop
1: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.observers:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.size:()I
ifne 5
2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.upstream:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.disposables.DisposableHelper.dispose:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
3: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.done:Z
4: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.drain:()V
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferBoundaryObserver<TT;TC;TOpen;TClose;>;
0 6 1 os Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferBoundaryObserver$BufferOpenObserver<TOpen;>;
Signature: (Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferBoundaryObserver$BufferOpenObserver<TOpen;>;)V
MethodParameters:
Name Flags
os
void close(io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferCloseObserver<T, C>, );
descriptor: (Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferCloseObserver;J)V
flags: (0x0000)
Code:
stack=4, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.observers:Lio/reactivex/disposables/CompositeDisposable;
aload 1
invokevirtual io.reactivex.disposables.CompositeDisposable.delete:(Lio/reactivex/disposables/Disposable;)Z
pop
1: iconst_0
istore 4
start local 4 2: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.observers:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.size:()I
ifne 5
3: iconst_1
istore 4
4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.upstream:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.disposables.DisposableHelper.dispose:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
5: StackMap locals: int
StackMap stack:
aload 0
dup
astore 5
monitorenter
6: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.buffers:Ljava/util/Map;
astore 6
start local 6 7: aload 6
ifnonnull 10
8: aload 5
monitorexit
9: return
10: StackMap locals: io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver java.util.Map
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.queue:Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.buffers:Ljava/util/Map;
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Collection
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.offer:(Ljava/lang/Object;)Z
pop
end local 6 11: aload 5
monitorexit
12: goto 15
StackMap locals: io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferCloseObserver long int io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver
StackMap stack: java.lang.Throwable
13: aload 5
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
iload 4
ifeq 17
16: aload 0
iconst_1
putfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.done:Z
17: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.drain:()V
18: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferBoundaryObserver<TT;TC;TOpen;TClose;>;
0 19 1 closer Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferCloseObserver<TT;TC;>;
0 19 2 idx J
2 19 4 makeDone Z
7 11 6 bufs Ljava/util/Map<Ljava/lang/Long;TC;>;
Exception table:
from to target type
6 9 13 any
10 12 13 any
13 14 13 any
Signature: (Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferCloseObserver<TT;TC;>;J)V
MethodParameters:
Name Flags
closer
idx
void boundaryError(io.reactivex.disposables.Disposable, java.lang.Throwable);
descriptor: (Lio/reactivex/disposables/Disposable;Ljava/lang/Throwable;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.upstream: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.ObservableBufferBoundary$BufferBoundaryObserver.observers:Lio/reactivex/disposables/CompositeDisposable;
aload 1
invokevirtual io.reactivex.disposables.CompositeDisposable.delete:(Lio/reactivex/disposables/Disposable;)Z
pop
2: aload 0
aload 2
invokevirtual io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.onError:(Ljava/lang/Throwable;)V
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferBoundaryObserver<TT;TC;TOpen;TClose;>;
0 4 1 observer Lio/reactivex/disposables/Disposable;
0 4 2 ex Ljava/lang/Throwable;
MethodParameters:
Name Flags
observer
ex
void drain();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.getAndIncrement:()I
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
iconst_1
istore 1
start local 1 3: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.downstream:Lio/reactivex/Observer;
astore 2
start local 2 4: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.queue:Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
astore 3
start local 3 5: StackMap locals: int io.reactivex.Observer io.reactivex.internal.queue.SpscLinkedArrayQueue
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.cancelled:Z
ifeq 8
6: aload 3
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.clear:()V
7: return
8: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.done:Z
istore 4
start local 4 9: iload 4
ifeq 14
aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.errors:Lio/reactivex/internal/util/AtomicThrowable;
invokevirtual io.reactivex.internal.util.AtomicThrowable.get:()Ljava/lang/Object;
ifnull 14
10: aload 3
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.clear:()V
11: aload 0
getfield io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.errors:Lio/reactivex/internal/util/AtomicThrowable;
invokevirtual io.reactivex.internal.util.AtomicThrowable.terminate:()Ljava/lang/Throwable;
astore 5
start local 5 12: aload 2
aload 5
invokeinterface io.reactivex.Observer.onError:(Ljava/lang/Throwable;)V
13: return
end local 5 14: StackMap locals: int
StackMap stack:
aload 3
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.poll:()Ljava/lang/Object;
checkcast java.util.Collection
astore 5
start local 5 15: aload 5
ifnonnull 16
iconst_1
goto 17
StackMap locals: java.util.Collection
StackMap stack:
16: iconst_0
StackMap locals:
StackMap stack: int
17: istore 6
start local 6 18: iload 4
ifeq 21
iload 6
ifeq 21
19: aload 2
invokeinterface io.reactivex.Observer.onComplete:()V
20: return
21: StackMap locals: int
StackMap stack:
iload 6
ifeq 23
22: goto 25
23: StackMap locals:
StackMap stack:
aload 2
aload 5
invokeinterface io.reactivex.Observer.onNext:(Ljava/lang/Object;)V
end local 6 end local 5 end local 4 24: goto 5
25: StackMap locals:
StackMap stack:
aload 0
iload 1
ineg
invokevirtual io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver.addAndGet:(I)I
istore 1
26: iload 1
ifne 5
27: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lio/reactivex/internal/operators/observable/ObservableBufferBoundary$BufferBoundaryObserver<TT;TC;TOpen;TClose;>;
3 28 1 missed I
4 28 2 a Lio/reactivex/Observer<-TC;>;
5 28 3 q Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TC;>;
9 24 4 d Z
12 14 5 ex Ljava/lang/Throwable;
15 24 5 v TC;
18 24 6 empty Z
}
Signature: <T:Ljava/lang/Object;C::Ljava/util/Collection<-TT;>;Open:Ljava/lang/Object;Close:Ljava/lang/Object;>Ljava/util/concurrent/atomic/AtomicInteger;Lio/reactivex/Observer<TT;>;Lio/reactivex/disposables/Disposable;
SourceFile: "ObservableBufferBoundary.java"
NestHost: io.reactivex.internal.operators.observable.ObservableBufferBoundary
InnerClasses:
final BufferBoundaryObserver = io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver of io.reactivex.internal.operators.observable.ObservableBufferBoundary
final BufferOpenObserver = io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver$BufferOpenObserver of io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferBoundaryObserver
final BufferCloseObserver = io.reactivex.internal.operators.observable.ObservableBufferBoundary$BufferCloseObserver of io.reactivex.internal.operators.observable.ObservableBufferBoundary