public class io.netty.util.concurrent.PromiseNotifier<V, F extends io.netty.util.concurrent.Future<V>> implements io.netty.util.concurrent.GenericFutureListener<F>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.netty.util.concurrent.PromiseNotifier
super_class: java.lang.Object
{
private static final io.netty.util.internal.logging.InternalLogger logger;
descriptor: Lio/netty/util/internal/logging/InternalLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final io.netty.util.concurrent.Promise<? super V>[] promises;
descriptor: [Lio/netty/util/concurrent/Promise;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: [Lio/netty/util/concurrent/Promise<-TV;>;
private final boolean logNotifyFailure;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/netty/util/concurrent/PromiseNotifier;
invokestatic io.netty.util.internal.logging.InternalLoggerFactory.getInstance:(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;
putstatic io.netty.util.concurrent.PromiseNotifier.logger:Lio/netty/util/internal/logging/InternalLogger;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(io.netty.util.concurrent.Promise<? super V>[]);
descriptor: ([Lio/netty/util/concurrent/Promise;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
aload 1
invokespecial io.netty.util.concurrent.PromiseNotifier.<init>:(Z[Lio/netty/util/concurrent/Promise;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/netty/util/concurrent/PromiseNotifier<TV;TF;>;
0 2 1 promises [Lio/netty/util/concurrent/Promise;
Signature: ([Lio/netty/util/concurrent/Promise<-TV;>;)V
RuntimeVisibleAnnotations:
java.lang.SafeVarargs()
MethodParameters:
Name Flags
promises
public void <init>(boolean, io.netty.util.concurrent.Promise<? super V>[]);
descriptor: (Z[Lio/netty/util/concurrent/Promise;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 2
ldc "promises"
invokestatic io.netty.util.internal.ObjectUtil.checkNotNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 2
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 7
StackMap locals: io.netty.util.concurrent.PromiseNotifier int io.netty.util.concurrent.Promise[] top int int io.netty.util.concurrent.Promise[]
StackMap stack:
3: aload 6
iload 4
aaload
astore 3
start local 3 4: aload 3
ifnonnull 6
5: new java.lang.IllegalArgumentException
dup
ldc "promises contains null Promise"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 6: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 5
if_icmplt 3
8: aload 0
aload 2
invokevirtual io.netty.util.concurrent.Promise[].clone:()Ljava/lang/Object;
checkcast io.netty.util.concurrent.Promise[]
putfield io.netty.util.concurrent.PromiseNotifier.promises:[Lio/netty/util/concurrent/Promise;
9: aload 0
iload 1
putfield io.netty.util.concurrent.PromiseNotifier.logNotifyFailure:Z
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lio/netty/util/concurrent/PromiseNotifier<TV;TF;>;
0 11 1 logNotifyFailure Z
0 11 2 promises [Lio/netty/util/concurrent/Promise;
4 6 3 promise Lio/netty/util/concurrent/Promise<-TV;>;
Signature: (Z[Lio/netty/util/concurrent/Promise<-TV;>;)V
RuntimeVisibleAnnotations:
java.lang.SafeVarargs()
MethodParameters:
Name Flags
logNotifyFailure
promises
public void operationComplete();
descriptor: (Lio/netty/util/concurrent/Future;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield io.netty.util.concurrent.PromiseNotifier.logNotifyFailure:Z
ifeq 1
getstatic io.netty.util.concurrent.PromiseNotifier.logger:Lio/netty/util/internal/logging/InternalLogger;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: io.netty.util.internal.logging.InternalLogger
2: astore 2
start local 2 3: aload 1
invokeinterface io.netty.util.concurrent.Future.isSuccess:()Z
ifeq 11
4: aload 1
invokeinterface io.netty.util.concurrent.Future.get:()Ljava/lang/Object;
astore 3
start local 3 5: aload 0
getfield io.netty.util.concurrent.PromiseNotifier.promises:[Lio/netty/util/concurrent/Promise;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 9
StackMap locals: io.netty.util.concurrent.PromiseNotifier io.netty.util.concurrent.Future io.netty.util.internal.logging.InternalLogger java.lang.Object top int int io.netty.util.concurrent.Promise[]
StackMap stack:
6: aload 7
iload 5
aaload
astore 4
start local 4 7: aload 4
aload 3
aload 2
invokestatic io.netty.util.internal.PromiseNotificationUtil.trySuccess:(Lio/netty/util/concurrent/Promise;Ljava/lang/Object;Lio/netty/util/internal/logging/InternalLogger;)V
end local 4 8: iinc 5 1
StackMap locals:
StackMap stack:
9: iload 5
iload 6
if_icmplt 6
end local 3 10: goto 24
StackMap locals: io.netty.util.concurrent.PromiseNotifier io.netty.util.concurrent.Future io.netty.util.internal.logging.InternalLogger
StackMap stack:
11: aload 1
invokeinterface io.netty.util.concurrent.Future.isCancelled:()Z
ifeq 18
12: aload 0
getfield io.netty.util.concurrent.PromiseNotifier.promises:[Lio/netty/util/concurrent/Promise;
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 16
StackMap locals: io.netty.util.concurrent.PromiseNotifier io.netty.util.concurrent.Future io.netty.util.internal.logging.InternalLogger top int int io.netty.util.concurrent.Promise[]
StackMap stack:
13: aload 6
iload 4
aaload
astore 3
start local 3 14: aload 3
aload 2
invokestatic io.netty.util.internal.PromiseNotificationUtil.tryCancel:(Lio/netty/util/concurrent/Promise;Lio/netty/util/internal/logging/InternalLogger;)V
end local 3 15: iinc 4 1
StackMap locals:
StackMap stack:
16: iload 4
iload 5
if_icmplt 13
17: goto 24
18: StackMap locals: io.netty.util.concurrent.PromiseNotifier io.netty.util.concurrent.Future io.netty.util.internal.logging.InternalLogger
StackMap stack:
aload 1
invokeinterface io.netty.util.concurrent.Future.cause:()Ljava/lang/Throwable;
astore 3
start local 3 19: aload 0
getfield io.netty.util.concurrent.PromiseNotifier.promises:[Lio/netty/util/concurrent/Promise;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 23
StackMap locals: io.netty.util.concurrent.PromiseNotifier io.netty.util.concurrent.Future io.netty.util.internal.logging.InternalLogger java.lang.Throwable top int int io.netty.util.concurrent.Promise[]
StackMap stack:
20: aload 7
iload 5
aaload
astore 4
start local 4 21: aload 4
aload 3
aload 2
invokestatic io.netty.util.internal.PromiseNotificationUtil.tryFailure:(Lio/netty/util/concurrent/Promise;Ljava/lang/Throwable;Lio/netty/util/internal/logging/InternalLogger;)V
end local 4 22: iinc 5 1
StackMap locals:
StackMap stack:
23: iload 5
iload 6
if_icmplt 20
end local 3 24: StackMap locals: io.netty.util.concurrent.PromiseNotifier io.netty.util.concurrent.Future io.netty.util.internal.logging.InternalLogger
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lio/netty/util/concurrent/PromiseNotifier<TV;TF;>;
0 25 1 future TF;
3 25 2 internalLogger Lio/netty/util/internal/logging/InternalLogger;
5 10 3 result TV;
7 8 4 p Lio/netty/util/concurrent/Promise<-TV;>;
14 15 3 p Lio/netty/util/concurrent/Promise<-TV;>;
19 24 3 cause Ljava/lang/Throwable;
21 22 4 p Lio/netty/util/concurrent/Promise<-TV;>;
Exceptions:
throws java.lang.Exception
Signature: (TF;)V
MethodParameters:
Name Flags
future
}
Signature: <V:Ljava/lang/Object;F::Lio/netty/util/concurrent/Future<TV;>;>Ljava/lang/Object;Lio/netty/util/concurrent/GenericFutureListener<TF;>;
SourceFile: "PromiseNotifier.java"