final class io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber<T, C extends java.util.Collection<? super T>> extends java.util.concurrent.atomic.AtomicLong implements io.reactivex.FlowableSubscriber<T>, org.reactivestreams.Subscription, io.reactivex.functions.BooleanSupplier
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber
super_class: java.util.concurrent.atomic.AtomicLong
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -7370244972039324525
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 int size;
descriptor: I
flags: (0x0010) ACC_FINAL
final int skip;
descriptor: I
flags: (0x0010) ACC_FINAL
final java.util.ArrayDeque<C> buffers;
descriptor: Ljava/util/ArrayDeque;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/ArrayDeque<TC;>;
final java.util.concurrent.atomic.AtomicBoolean once;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0010) ACC_FINAL
org.reactivestreams.Subscription upstream;
descriptor: Lorg/reactivestreams/Subscription;
flags: (0x0000)
boolean done;
descriptor: Z
flags: (0x0000)
int index;
descriptor: I
flags: (0x0000)
volatile boolean cancelled;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
long produced;
descriptor: J
flags: (0x0000)
void <init>(org.reactivestreams.Subscriber<? super C>, int, int, java.util.concurrent.Callable<C>);
descriptor: (Lorg/reactivestreams/Subscriber;IILjava/util/concurrent/Callable;)V
flags: (0x0000)
Code:
stack=3, 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.AtomicLong.<init>:()V
1: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.downstream:Lorg/reactivestreams/Subscriber;
2: aload 0
iload 2
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.size:I
3: aload 0
iload 3
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.skip:I
4: aload 0
aload 4
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.bufferSupplier:Ljava/util/concurrent/Callable;
5: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.once:Ljava/util/concurrent/atomic/AtomicBoolean;
6: aload 0
new java.util.ArrayDeque
dup
invokespecial java.util.ArrayDeque.<init>:()V
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.buffers:Ljava/util/ArrayDeque;
7: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/operators/flowable/FlowableBuffer$PublisherBufferOverlappingSubscriber<TT;TC;>;
0 8 1 actual Lorg/reactivestreams/Subscriber<-TC;>;
0 8 2 size I
0 8 3 skip I
0 8 4 bufferSupplier Ljava/util/concurrent/Callable<TC;>;
Signature: (Lorg/reactivestreams/Subscriber<-TC;>;IILjava/util/concurrent/Callable<TC;>;)V
MethodParameters:
Name Flags
actual
size
skip
bufferSupplier
public boolean getAsBoolean();
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.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.cancelled:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/operators/flowable/FlowableBuffer$PublisherBufferOverlappingSubscriber<TT;TC;>;
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: lload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(J)Z
ifeq 10
1: lload 1
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.buffers:Ljava/util/ArrayDeque;
aload 0
aload 0
invokestatic io.reactivex.internal.util.QueueDrainHelper.postCompleteRequest:(JLorg/reactivestreams/Subscriber;Ljava/util/Queue;Ljava/util/concurrent/atomic/AtomicLong;Lio/reactivex/functions/BooleanSupplier;)Z
ifeq 3
2: return
3: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.once:Ljava/util/concurrent/atomic/AtomicBoolean;
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifne 8
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.once:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 8
4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.skip:I
i2l
lload 1
lconst_1
lsub
invokestatic io.reactivex.internal.util.BackpressureHelper.multiplyCap:(JJ)J
lstore 3
start local 3 5: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.size:I
i2l
lload 3
invokestatic io.reactivex.internal.util.BackpressureHelper.addCap:(JJ)J
lstore 5
start local 5 6: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.upstream:Lorg/reactivestreams/Subscription;
lload 5
invokeinterface org.reactivestreams.Subscription.request:(J)V
end local 5 end local 3 7: goto 10
8: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.skip:I
i2l
lload 1
invokestatic io.reactivex.internal.util.BackpressureHelper.multiplyCap:(JJ)J
lstore 3
start local 3 9: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.upstream:Lorg/reactivestreams/Subscription;
lload 3
invokeinterface org.reactivestreams.Subscription.request:(J)V
end local 3 10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/reactivex/internal/operators/flowable/FlowableBuffer$PublisherBufferOverlappingSubscriber<TT;TC;>;
0 11 1 n J
5 7 3 u J
6 7 5 r J
9 10 3 r J
MethodParameters:
Name Flags
n
public void cancel();
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.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.cancelled:Z
1: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.upstream:Lorg/reactivestreams/Subscription;
invokeinterface org.reactivestreams.Subscription.cancel:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/reactivex/internal/operators/flowable/FlowableBuffer$PublisherBufferOverlappingSubscriber<TT;TC;>;
public void onSubscribe(org.reactivestreams.Subscription);
descriptor: (Lorg/reactivestreams/Subscription;)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.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.upstream:Lorg/reactivestreams/Subscription;
aload 1
invokestatic io.reactivex.internal.subscriptions.SubscriptionHelper.validate:(Lorg/reactivestreams/Subscription;Lorg/reactivestreams/Subscription;)Z
ifeq 3
1: aload 0
aload 1
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.upstream:Lorg/reactivestreams/Subscription;
2: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 0
invokeinterface org.reactivestreams.Subscriber.onSubscribe:(Lorg/reactivestreams/Subscription;)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/flowable/FlowableBuffer$PublisherBufferOverlappingSubscriber<TT;TC;>;
0 4 1 s Lorg/reactivestreams/Subscription;
MethodParameters:
Name Flags
s
public void onNext();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.buffers:Ljava/util/ArrayDeque;
astore 2
start local 2 3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.index:I
istore 3
start local 3 4: iload 3
iinc 3 1
ifne 13
5: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.bufferSupplier:Ljava/util/concurrent/Callable;
invokeinterface java.util.concurrent.Callable.call:()Ljava/lang/Object;
checkcast java.util.Collection
ldc "The bufferSupplier returned a null buffer"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.Collection
astore 4
start local 4 6: goto 12
end local 4 StackMap locals: io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber java.lang.Object java.util.ArrayDeque int
StackMap stack: java.lang.Throwable
7: astore 5
start local 5 8: aload 5
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
9: aload 0
invokevirtual io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.cancel:()V
10: aload 0
aload 5
invokevirtual io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.onError:(Ljava/lang/Throwable;)V
11: return
end local 5 start local 4 12: StackMap locals: java.util.Collection
StackMap stack:
aload 2
aload 4
invokevirtual java.util.ArrayDeque.offer:(Ljava/lang/Object;)Z
pop
end local 4 13: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.ArrayDeque.peek:()Ljava/lang/Object;
checkcast java.util.Collection
astore 4
start local 4 14: aload 4
ifnull 19
aload 4
invokeinterface java.util.Collection.size:()I
iconst_1
iadd
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.size:I
if_icmpne 19
15: aload 2
invokevirtual java.util.ArrayDeque.poll:()Ljava/lang/Object;
pop
16: aload 4
aload 1
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
17: aload 0
dup
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.produced:J
lconst_1
ladd
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.produced:J
18: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 4
invokeinterface org.reactivestreams.Subscriber.onNext:(Ljava/lang/Object;)V
19: StackMap locals: java.util.Collection
StackMap stack:
aload 2
invokevirtual java.util.ArrayDeque.iterator:()Ljava/util/Iterator;
astore 6
goto 22
StackMap locals: io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber java.lang.Object java.util.ArrayDeque int java.util.Collection top java.util.Iterator
StackMap stack:
20: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Collection
astore 5
start local 5 21: aload 5
aload 1
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
end local 5 22: StackMap locals:
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 20
23: iload 3
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.skip:I
if_icmpne 25
24: iconst_0
istore 3
25: StackMap locals: io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber java.lang.Object java.util.ArrayDeque int java.util.Collection
StackMap stack:
aload 0
iload 3
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.index:I
26: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lio/reactivex/internal/operators/flowable/FlowableBuffer$PublisherBufferOverlappingSubscriber<TT;TC;>;
0 27 1 t TT;
3 27 2 bs Ljava/util/ArrayDeque<TC;>;
4 27 3 i I
6 7 4 b TC;
12 13 4 b TC;
8 12 5 e Ljava/lang/Throwable;
14 27 4 b TC;
21 22 5 b0 TC;
Exception table:
from to target type
5 6 7 Class java.lang.Throwable
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
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.done:Z
ifeq 3
1: aload 1
invokestatic io.reactivex.plugins.RxJavaPlugins.onError:(Ljava/lang/Throwable;)V
2: return
3: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.done:Z
4: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.buffers:Ljava/util/ArrayDeque;
invokevirtual java.util.ArrayDeque.clear:()V
5: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 1
invokeinterface org.reactivestreams.Subscriber.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/flowable/FlowableBuffer$PublisherBufferOverlappingSubscriber<TT;TC;>;
0 7 1 t Ljava/lang/Throwable;
MethodParameters:
Name Flags
t
public void onComplete();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.done:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.done:Z
3: aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.produced:J
lstore 1
start local 1 4: lload 1
lconst_0
lcmp
ifeq 6
5: aload 0
lload 1
invokestatic io.reactivex.internal.util.BackpressureHelper.produced:(Ljava/util/concurrent/atomic/AtomicLong;J)J
pop2
6: StackMap locals: long
StackMap stack:
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.downstream:Lorg/reactivestreams/Subscriber;
aload 0
getfield io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber.buffers:Ljava/util/ArrayDeque;
aload 0
aload 0
invokestatic io.reactivex.internal.util.QueueDrainHelper.postComplete:(Lorg/reactivestreams/Subscriber;Ljava/util/Queue;Ljava/util/concurrent/atomic/AtomicLong;Lio/reactivex/functions/BooleanSupplier;)V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lio/reactivex/internal/operators/flowable/FlowableBuffer$PublisherBufferOverlappingSubscriber<TT;TC;>;
4 8 1 p J
}
Signature: <T:Ljava/lang/Object;C::Ljava/util/Collection<-TT;>;>Ljava/util/concurrent/atomic/AtomicLong;Lio/reactivex/FlowableSubscriber<TT;>;Lorg/reactivestreams/Subscription;Lio/reactivex/functions/BooleanSupplier;
SourceFile: "FlowableBuffer.java"
NestHost: io.reactivex.internal.operators.flowable.FlowableBuffer
InnerClasses:
final PublisherBufferOverlappingSubscriber = io.reactivex.internal.operators.flowable.FlowableBuffer$PublisherBufferOverlappingSubscriber of io.reactivex.internal.operators.flowable.FlowableBuffer