final class io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber<T, C extends java.util.Collection<? super T>, Open, Close> extends java.util.concurrent.atomic.AtomicInteger implements io.reactivex.FlowableSubscriber<T>, org.reactivestreams.Subscription
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber
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 org.reactivestreams.Subscriber<? super C> downstream;
descriptor: Lorg/reactivestreams/Subscriber;
flags: (0x0010) ACC_FINAL
Signature: Lorg/reactivestreams/Subscriber<-TC;>;
final java.util.concurrent.Callable<C> bufferSupplier;
descriptor: Ljava/util/concurrent/Callable;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/Callable<TC;>;
final org.reactivestreams.Publisher<? extends Open> bufferOpen;
descriptor: Lorg/reactivestreams/Publisher;
flags: (0x0010) ACC_FINAL
Signature: Lorg/reactivestreams/Publisher<+TOpen;>;
final io.reactivex.functions.Function<? super Open, ? extends org.reactivestreams.Publisher<? extends Close>> bufferClose;
descriptor: Lio/reactivex/functions/Function;
flags: (0x0010) ACC_FINAL
Signature: Lio/reactivex/functions/Function<-TOpen;+Lorg/reactivestreams/Publisher<+TClose;>;>;
final io.reactivex.disposables.CompositeDisposable subscribers;
descriptor: Lio/reactivex/disposables/CompositeDisposable;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicLong requested;
descriptor: Ljava/util/concurrent/atomic/AtomicLong;
flags: (0x0010) ACC_FINAL
final java.util.concurrent.atomic.AtomicReference<org.reactivestreams.Subscription> upstream;
descriptor: Ljava/util/concurrent/atomic/AtomicReference;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/concurrent/atomic/AtomicReference<Lorg/reactivestreams/Subscription;>;
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;>;
long emitted;
descriptor: J
flags: (0x0000)
void <init>(org.reactivestreams.Subscriber<? super C>, org.reactivestreams.Publisher<? extends Open>, io.reactivex.functions.Function<? super Open, ? extends org.reactivestreams.Publisher<? extends Close>>, java.util.concurrent.Callable<C>);
descriptor: (Lorg/reactivestreams/Subscriber;Lorg/reactivestreams/Publisher;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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.downstream:Lorg/reactivestreams/Subscriber;
2: aload 0
aload 4
putfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.bufferSupplier:Ljava/util/concurrent/Callable;
3: aload 0
aload 2
putfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.bufferOpen:Lorg/reactivestreams/Publisher;
4: aload 0
aload 3
putfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.bufferClose:Lio/reactivex/functions/Function;
5: aload 0
new io.reactivex.internal.queue.SpscLinkedArrayQueue
dup
invokestatic io.reactivex.internal.operators.flowable.FlowableBufferBoundary.bufferSize:()I
invokespecial io.reactivex.internal.queue.SpscLinkedArrayQueue.<init>:(I)V
putfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.subscribers:Lio/reactivex/disposables/CompositeDisposable;
7: aload 0
new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
8: aload 0
new java.util.concurrent.atomic.AtomicReference
dup
invokespecial java.util.concurrent.atomic.AtomicReference.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
9: aload 0
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.buffers:Ljava/util/Map;
10: aload 0
new io.reactivex.internal.util.AtomicThrowable
dup
invokespecial io.reactivex.internal.util.AtomicThrowable.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.errors:Lio/reactivex/internal/util/AtomicThrowable;
11: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lio/reactivex/internal/operators/flowable/FlowableBufferBoundary$BufferBoundarySubscriber<TT;TC;TOpen;TClose;>;
0 12 1 actual Lorg/reactivestreams/Subscriber<-TC;>;
0 12 2 bufferOpen Lorg/reactivestreams/Publisher<+TOpen;>;
0 12 3 bufferClose Lio/reactivex/functions/Function<-TOpen;+Lorg/reactivestreams/Publisher<+TClose;>;>;
0 12 4 bufferSupplier Ljava/util/concurrent/Callable<TC;>;
Signature: (Lorg/reactivestreams/Subscriber<-TC;>;Lorg/reactivestreams/Publisher<+TOpen;>;Lio/reactivex/functions/Function<-TOpen;+Lorg/reactivestreams/Publisher<+TClose;>;>;Ljava/util/concurrent/Callable<TC;>;)V
MethodParameters:
Name Flags
actual
bufferOpen
bufferClose
bufferSupplier
public void onSubscribe(org.reactivestreams.Subscription);
descriptor: (Lorg/reactivestreams/Subscription;)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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
aload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.setOnce:(Ljava/util/concurrent/atomic/AtomicReference;Lorg/reactivestreams/Subscription;)Z
ifeq 5
1: new io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber$BufferOpenSubscriber
dup
aload 0
invokespecial io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber$BufferOpenSubscriber.<init>:(Lio/reactivex/internal/operators/flowable/FlowableBufferBoundary$BufferBoundarySubscriber;)V
astore 2
start local 2 2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.subscribers: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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.bufferOpen:Lorg/reactivestreams/Publisher;
aload 2
invokeinterface org.reactivestreams.Publisher.subscribe:(Lorg/reactivestreams/Subscriber;)V
4: aload 1
ldc 9223372036854775807
invokeinterface org.reactivestreams.Subscription.request:(J)V
end local 2 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/flowable/FlowableBufferBoundary$BufferBoundarySubscriber<TT;TC;TOpen;TClose;>;
0 6 1 s Lorg/reactivestreams/Subscription;
2 5 2 open Lio/reactivex/internal/operators/flowable/FlowableBufferBoundary$BufferBoundarySubscriber$BufferOpenSubscriber<TOpen;>;
MethodParameters:
Name Flags
s
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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber 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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber java.lang.Object io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber 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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber java.lang.Object io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber
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/flowable/FlowableBufferBoundary$BufferBoundarySubscriber<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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.subscribers: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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.buffers:Ljava/util/Map;
4: aload 2
monitorexit
5: goto 8
StackMap locals: io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber java.lang.Throwable io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber
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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.done:Z
9: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.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/flowable/FlowableBufferBoundary$BufferBoundarySubscriber<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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.subscribers: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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber 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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber 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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.buffers:Ljava/util/Map;
end local 2 11: aload 1
monitorexit
12: goto 15
StackMap locals: io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber
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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.done:Z
16: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.drain:()V
17: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/reactivex/internal/operators/flowable/FlowableBufferBoundary$BufferBoundarySubscriber<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 request(long);
descriptor: (J)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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
lload 1
invokestatic io.reactivex.internal.util.BackpressureHelper.add:(Ljava/util/concurrent/atomic/AtomicLong;J)J
pop2
1: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.drain:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/flowable/FlowableBufferBoundary$BufferBoundarySubscriber<TT;TC;TOpen;TClose;>;
0 3 1 n J
MethodParameters:
Name Flags
n
public void cancel();
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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.cancel:(Ljava/util/concurrent/atomic/AtomicReference;)Z
ifeq 11
1: aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.cancelled:Z
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.subscribers: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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.buffers:Ljava/util/Map;
5: aload 1
monitorexit
6: goto 9
StackMap locals: io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber
StackMap stack: java.lang.Throwable
7: aload 1
monitorexit
8: athrow
9: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.getAndIncrement:()I
ifeq 11
10: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.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/flowable/FlowableBufferBoundary$BufferBoundarySubscriber<TT;TC;TOpen;TClose;>;
Exception table:
from to target type
4 6 7 any
7 8 7 any
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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.bufferClose:Lio/reactivex/functions/Function;
aload 1
invokeinterface io.reactivex.functions.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.reactivestreams.Publisher
ldc "The bufferClose returned a null Publisher"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast org.reactivestreams.Publisher
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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.cancel:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
6: aload 0
aload 4
invokevirtual io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.onError:(Ljava/lang/Throwable;)V
7: return
end local 4 start local 2 start local 3 8: StackMap locals: org.reactivestreams.Publisher java.util.Collection
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.index:J
lstore 4
start local 4 9: aload 0
lload 4
lconst_1
ladd
putfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.index:J
10: aload 0
dup
astore 6
monitorenter
11: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber 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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber java.lang.Object org.reactivestreams.Publisher java.util.Collection long io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber
StackMap stack: java.lang.Throwable
18: aload 6
monitorexit
19: athrow
20: StackMap locals:
StackMap stack:
new io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferCloseSubscriber
dup
aload 0
lload 4
invokespecial io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferCloseSubscriber.<init>:(Lio/reactivex/internal/operators/flowable/FlowableBufferBoundary$BufferBoundarySubscriber;J)V
astore 6
start local 6 21: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.subscribers:Lio/reactivex/disposables/CompositeDisposable;
aload 6
invokevirtual io.reactivex.disposables.CompositeDisposable.add:(Lio/reactivex/disposables/Disposable;)Z
pop
22: aload 2
aload 6
invokeinterface org.reactivestreams.Publisher.subscribe:(Lorg/reactivestreams/Subscriber;)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/flowable/FlowableBufferBoundary$BufferBoundarySubscriber<TT;TC;TOpen;TClose;>;
0 24 1 token TOpen;
2 3 2 p Lorg/reactivestreams/Publisher<+TClose;>;
8 24 2 p Lorg/reactivestreams/Publisher<+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/flowable/FlowableBufferBoundary$BufferCloseSubscriber<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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber$BufferOpenSubscriber<Open>);
descriptor: (Lio/reactivex/internal/operators/flowable/FlowableBufferBoundary$BufferBoundarySubscriber$BufferOpenSubscriber;)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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.subscribers: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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.subscribers:Lio/reactivex/disposables/CompositeDisposable;
invokevirtual io.reactivex.disposables.CompositeDisposable.size:()I
ifne 5
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.cancel:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
3: aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.done:Z
4: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.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/flowable/FlowableBufferBoundary$BufferBoundarySubscriber<TT;TC;TOpen;TClose;>;
0 6 1 os Lio/reactivex/internal/operators/flowable/FlowableBufferBoundary$BufferBoundarySubscriber$BufferOpenSubscriber<TOpen;>;
Signature: (Lio/reactivex/internal/operators/flowable/FlowableBufferBoundary$BufferBoundarySubscriber$BufferOpenSubscriber<TOpen;>;)V
MethodParameters:
Name Flags
os
void close(io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferCloseSubscriber<T, C>, );
descriptor: (Lio/reactivex/internal/operators/flowable/FlowableBufferBoundary$BufferCloseSubscriber;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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.subscribers: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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.subscribers: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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.cancel:(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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber java.util.Map
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.queue:Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferCloseSubscriber long int io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber
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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.done:Z
17: StackMap locals:
StackMap stack:
aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.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/flowable/FlowableBufferBoundary$BufferBoundarySubscriber<TT;TC;TOpen;TClose;>;
0 19 1 closer Lio/reactivex/internal/operators/flowable/FlowableBufferBoundary$BufferCloseSubscriber<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/flowable/FlowableBufferBoundary$BufferCloseSubscriber<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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.upstream:Ljava/util/concurrent/atomic/AtomicReference;
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.cancel:(Ljava/util/concurrent/atomic/AtomicReference;)Z
pop
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.subscribers: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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.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/flowable/FlowableBufferBoundary$BufferBoundarySubscriber<TT;TC;TOpen;TClose;>;
0 4 1 subscriber Lio/reactivex/disposables/Disposable;
0 4 2 ex Ljava/lang/Throwable;
MethodParameters:
Name Flags
subscriber
ex
void drain();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=11, args_size=1
start local 0 0: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.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.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.emitted:J
lstore 2
start local 2 4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.downstream:Lorg/reactivestreams/Subscriber;
astore 4
start local 4 5: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.queue:Lio/reactivex/internal/queue/SpscLinkedArrayQueue;
astore 5
start local 5 6: StackMap locals: io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber int long org.reactivestreams.Subscriber io.reactivex.internal.queue.SpscLinkedArrayQueue
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.requested:Ljava/util/concurrent/atomic/AtomicLong;
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lstore 6
start local 6 7: goto 28
8: StackMap locals: long
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.cancelled:Z
ifeq 11
9: aload 5
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.clear:()V
10: return
11: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.done:Z
istore 8
start local 8 12: iload 8
ifeq 17
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.errors:Lio/reactivex/internal/util/AtomicThrowable;
invokevirtual io.reactivex.internal.util.AtomicThrowable.get:()Ljava/lang/Object;
ifnull 17
13: aload 5
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.clear:()V
14: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.errors:Lio/reactivex/internal/util/AtomicThrowable;
invokevirtual io.reactivex.internal.util.AtomicThrowable.terminate:()Ljava/lang/Throwable;
astore 9
start local 9 15: aload 4
aload 9
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
16: return
end local 9 17: StackMap locals: int
StackMap stack:
aload 5
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.poll:()Ljava/lang/Object;
checkcast java.util.Collection
astore 9
start local 9 18: aload 9
ifnonnull 19
iconst_1
goto 20
StackMap locals: java.util.Collection
StackMap stack:
19: iconst_0
StackMap locals:
StackMap stack: int
20: istore 10
start local 10 21: iload 8
ifeq 24
iload 10
ifeq 24
22: aload 4
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
23: return
24: StackMap locals: int
StackMap stack:
iload 10
ifeq 26
25: goto 29
26: StackMap locals:
StackMap stack:
aload 4
aload 9
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
27: lload 2
lconst_1
ladd
lstore 2
end local 10 end local 9 end local 8 28: StackMap locals:
StackMap stack:
lload 2
lload 6
lcmp
ifne 8
29: StackMap locals:
StackMap stack:
lload 2
lload 6
lcmp
ifne 42
30: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.cancelled:Z
ifeq 33
31: aload 5
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.clear:()V
32: return
33: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.done:Z
ifeq 42
34: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.errors:Lio/reactivex/internal/util/AtomicThrowable;
invokevirtual io.reactivex.internal.util.AtomicThrowable.get:()Ljava/lang/Object;
ifnull 39
35: aload 5
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.clear:()V
36: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.errors:Lio/reactivex/internal/util/AtomicThrowable;
invokevirtual io.reactivex.internal.util.AtomicThrowable.terminate:()Ljava/lang/Throwable;
astore 8
start local 8 37: aload 4
aload 8
invokeinterface org.reactivestreams.Subscriber.onError:(Ljava/lang/Throwable;)V
38: return
end local 8 39: StackMap locals:
StackMap stack:
aload 5
invokevirtual io.reactivex.internal.queue.SpscLinkedArrayQueue.isEmpty:()Z
ifeq 42
40: aload 4
invokeinterface org.reactivestreams.Subscriber.onComplete:()V
41: return
42: StackMap locals:
StackMap stack:
aload 0
lload 2
putfield io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.emitted:J
43: aload 0
iload 1
ineg
invokevirtual io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber.addAndGet:(I)I
istore 1
44: iload 1
ifne 6
end local 6 45: return
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lio/reactivex/internal/operators/flowable/FlowableBufferBoundary$BufferBoundarySubscriber<TT;TC;TOpen;TClose;>;
3 46 1 missed I
4 46 2 e J
5 46 4 a Lorg/reactivestreams/Subscriber<-TC;>;
6 46 5 q Lio/reactivex/internal/queue/SpscLinkedArrayQueue<TC;>;
7 45 6 r J
12 28 8 d Z
15 17 9 ex Ljava/lang/Throwable;
18 28 9 v TC;
21 28 10 empty Z
37 39 8 ex Ljava/lang/Throwable;
}
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/FlowableSubscriber<TT;>;Lorg/reactivestreams/Subscription;
SourceFile: "FlowableBufferBoundary.java"
NestHost: io.reactivex.internal.operators.flowable.FlowableBufferBoundary
InnerClasses:
final BufferBoundarySubscriber = io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber of io.reactivex.internal.operators.flowable.FlowableBufferBoundary
final BufferOpenSubscriber = io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber$BufferOpenSubscriber of io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferBoundarySubscriber
final BufferCloseSubscriber = io.reactivex.internal.operators.flowable.FlowableBufferBoundary$BufferCloseSubscriber of io.reactivex.internal.operators.flowable.FlowableBufferBoundary