class jdk.incubator.http.PullPublisher$Subscription implements java.util.concurrent.Flow$Subscription
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.incubator.http.PullPublisher$Subscription
super_class: java.lang.Object
{
private final java.util.concurrent.Flow$Subscriber<? super T> subscriber;
descriptor: Ljava/util/concurrent/Flow$Subscriber;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/Flow$Subscriber<-TT;>;
private final java.util.Iterator<T> iter;
descriptor: Ljava/util/Iterator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Iterator<TT;>;
private volatile boolean completed;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile boolean cancelled;
descriptor: Z
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private volatile java.lang.Throwable error;
descriptor: Ljava/lang/Throwable;
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
final jdk.incubator.http.internal.common.SequentialScheduler pullScheduler;
descriptor: Ljdk/incubator/http/internal/common/SequentialScheduler;
flags: (0x0010) ACC_FINAL
private final jdk.incubator.http.internal.common.Demand demand;
descriptor: Ljdk/incubator/http/internal/common/Demand;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final jdk.incubator.http.PullPublisher this$0;
descriptor: Ljdk/incubator/http/PullPublisher;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.concurrent.Flow$Subscriber<? super T>, java.util.Iterator<T>, java.lang.Throwable);
descriptor: (Ljdk/incubator/http/PullPublisher;Ljava/util/concurrent/Flow$Subscriber;Ljava/util/Iterator;Ljava/lang/Throwable;)V
flags: (0x0000)
Code:
stack=6, locals=5, args_size=5
start local 0 start local 2 start local 3 start local 4 0: aload 0
aload 1
putfield jdk.incubator.http.PullPublisher$Subscription.this$0:Ljdk/incubator/http/PullPublisher;
1: aload 0
invokespecial java.lang.Object.<init>:()V
2: aload 0
new jdk.incubator.http.internal.common.SequentialScheduler
dup
new jdk.incubator.http.PullPublisher$Subscription$PullTask
dup
aload 0
invokespecial jdk.incubator.http.PullPublisher$Subscription$PullTask.<init>:(Ljdk/incubator/http/PullPublisher$Subscription;)V
invokespecial jdk.incubator.http.internal.common.SequentialScheduler.<init>:(Ljdk/incubator/http/internal/common/SequentialScheduler$RestartableTask;)V
putfield jdk.incubator.http.PullPublisher$Subscription.pullScheduler:Ljdk/incubator/http/internal/common/SequentialScheduler;
3: aload 0
new jdk.incubator.http.internal.common.Demand
dup
invokespecial jdk.incubator.http.internal.common.Demand.<init>:()V
putfield jdk.incubator.http.PullPublisher$Subscription.demand:Ljdk/incubator/http/internal/common/Demand;
4: aload 0
aload 2
putfield jdk.incubator.http.PullPublisher$Subscription.subscriber:Ljava/util/concurrent/Flow$Subscriber;
5: aload 0
aload 3
putfield jdk.incubator.http.PullPublisher$Subscription.iter:Ljava/util/Iterator;
6: aload 0
aload 4
putfield jdk.incubator.http.PullPublisher$Subscription.error:Ljava/lang/Throwable;
7: return
end local 4 end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/incubator/http/PullPublisher$Subscription;
0 8 2 subscriber Ljava/util/concurrent/Flow$Subscriber<-TT;>;
0 8 3 iter Ljava/util/Iterator<TT;>;
0 8 4 throwable Ljava/lang/Throwable;
Signature: (Ljava/util/concurrent/Flow$Subscriber<-TT;>;Ljava/util/Iterator<TT;>;Ljava/lang/Throwable;)V
MethodParameters:
Name Flags
this$0 final
subscriber
iter
throwable
public void request(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.http.PullPublisher$Subscription.cancelled:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
lload 1
lconst_0
lcmp
ifgt 5
3: aload 0
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "illegal non-positive request:"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
putfield jdk.incubator.http.PullPublisher$Subscription.error:Ljava/lang/Throwable;
4: goto 6
5: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.PullPublisher$Subscription.demand:Ljdk/incubator/http/internal/common/Demand;
lload 1
invokevirtual jdk.incubator.http.internal.common.Demand.increase:(J)Z
pop
6: StackMap locals:
StackMap stack:
aload 0
getfield jdk.incubator.http.PullPublisher$Subscription.pullScheduler:Ljdk/incubator/http/internal/common/SequentialScheduler;
invokevirtual jdk.incubator.http.internal.common.SequentialScheduler.runOrSchedule:()V
7: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/incubator/http/PullPublisher$Subscription;
0 8 1 n 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 jdk.incubator.http.PullPublisher$Subscription.cancelled:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljdk/incubator/http/PullPublisher$Subscription;
}
SourceFile: "PullPublisher.java"
NestHost: jdk.incubator.http.PullPublisher
InnerClasses:
public abstract Subscriber = java.util.concurrent.Flow$Subscriber of java.util.concurrent.Flow
public abstract Subscription = java.util.concurrent.Flow$Subscription of java.util.concurrent.Flow
private Subscription = jdk.incubator.http.PullPublisher$Subscription of jdk.incubator.http.PullPublisher
final PullTask = jdk.incubator.http.PullPublisher$Subscription$PullTask of jdk.incubator.http.PullPublisher$Subscription
public abstract RestartableTask = jdk.incubator.http.internal.common.SequentialScheduler$RestartableTask of jdk.incubator.http.internal.common.SequentialScheduler