class io.netty.channel.pool.FixedChannelPool$AcquireListener implements io.netty.util.concurrent.FutureListener<io.netty.channel.Channel>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.netty.channel.pool.FixedChannelPool$AcquireListener
super_class: java.lang.Object
{
private final io.netty.util.concurrent.Promise<io.netty.channel.Channel> originalPromise;
descriptor: Lio/netty/util/concurrent/Promise;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lio/netty/util/concurrent/Promise<Lio/netty/channel/Channel;>;
protected boolean acquired;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
final io.netty.channel.pool.FixedChannelPool this$0;
descriptor: Lio/netty/channel/pool/FixedChannelPool;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/netty/channel/pool/FixedChannelPool;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic io.netty.channel.pool.FixedChannelPool$AcquireListener.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(io.netty.util.concurrent.Promise<io.netty.channel.Channel>);
descriptor: (Lio/netty/channel/pool/FixedChannelPool;Lio/netty/util/concurrent/Promise;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 1
putfield io.netty.channel.pool.FixedChannelPool$AcquireListener.this$0:Lio/netty/channel/pool/FixedChannelPool;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield io.netty.channel.pool.FixedChannelPool$AcquireListener.originalPromise:Lio/netty/util/concurrent/Promise;
2: return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/netty/channel/pool/FixedChannelPool$AcquireListener;
0 3 2 originalPromise Lio/netty/util/concurrent/Promise<Lio/netty/channel/Channel;>;
Signature: (Lio/netty/util/concurrent/Promise<Lio/netty/channel/Channel;>;)V
MethodParameters:
Name Flags
this$0 final
originalPromise
public void operationComplete(io.netty.util.concurrent.Future<io.netty.channel.Channel>);
descriptor: (Lio/netty/util/concurrent/Future;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic io.netty.channel.pool.FixedChannelPool$AcquireListener.$assertionsDisabled:Z
ifne 1
aload 0
getfield io.netty.channel.pool.FixedChannelPool$AcquireListener.this$0:Lio/netty/channel/pool/FixedChannelPool;
getfield io.netty.channel.pool.FixedChannelPool.executor:Lio/netty/util/concurrent/EventExecutor;
invokeinterface io.netty.util.concurrent.EventExecutor.inEventLoop:()Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.channel.pool.FixedChannelPool$AcquireListener.this$0:Lio/netty/channel/pool/FixedChannelPool;
getfield io.netty.channel.pool.FixedChannelPool.closed:Z
ifeq 6
2: aload 1
invokeinterface io.netty.util.concurrent.Future.isSuccess:()Z
ifeq 4
3: aload 1
invokeinterface io.netty.util.concurrent.Future.getNow:()Ljava/lang/Object;
checkcast io.netty.channel.Channel
invokeinterface io.netty.channel.Channel.close:()Lio/netty/channel/ChannelFuture;
pop
4: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.channel.pool.FixedChannelPool$AcquireListener.originalPromise:Lio/netty/util/concurrent/Promise;
getstatic io.netty.channel.pool.FixedChannelPool.POOL_CLOSED_ON_ACQUIRE_EXCEPTION:Ljava/lang/IllegalStateException;
invokeinterface io.netty.util.concurrent.Promise.setFailure:(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Promise;
pop
5: return
6: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.netty.util.concurrent.Future.isSuccess:()Z
ifeq 9
7: aload 0
getfield io.netty.channel.pool.FixedChannelPool$AcquireListener.originalPromise:Lio/netty/util/concurrent/Promise;
aload 1
invokeinterface io.netty.util.concurrent.Future.getNow:()Ljava/lang/Object;
checkcast io.netty.channel.Channel
invokeinterface io.netty.util.concurrent.Promise.setSuccess:(Ljava/lang/Object;)Lio/netty/util/concurrent/Promise;
pop
8: goto 14
9: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.channel.pool.FixedChannelPool$AcquireListener.acquired:Z
ifeq 12
10: aload 0
getfield io.netty.channel.pool.FixedChannelPool$AcquireListener.this$0:Lio/netty/channel/pool/FixedChannelPool;
invokevirtual io.netty.channel.pool.FixedChannelPool.decrementAndRunTaskQueue:()V
11: goto 13
12: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.channel.pool.FixedChannelPool$AcquireListener.this$0:Lio/netty/channel/pool/FixedChannelPool;
invokevirtual io.netty.channel.pool.FixedChannelPool.runTaskQueue:()V
13: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.channel.pool.FixedChannelPool$AcquireListener.originalPromise:Lio/netty/util/concurrent/Promise;
aload 1
invokeinterface io.netty.util.concurrent.Future.cause:()Ljava/lang/Throwable;
invokeinterface io.netty.util.concurrent.Promise.setFailure:(Ljava/lang/Throwable;)Lio/netty/util/concurrent/Promise;
pop
14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/netty/channel/pool/FixedChannelPool$AcquireListener;
0 15 1 future Lio/netty/util/concurrent/Future<Lio/netty/channel/Channel;>;
Exceptions:
throws java.lang.Exception
Signature: (Lio/netty/util/concurrent/Future<Lio/netty/channel/Channel;>;)V
MethodParameters:
Name Flags
future
public void acquired();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield io.netty.channel.pool.FixedChannelPool$AcquireListener.acquired:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
getfield io.netty.channel.pool.FixedChannelPool$AcquireListener.this$0:Lio/netty/channel/pool/FixedChannelPool;
dup
getfield io.netty.channel.pool.FixedChannelPool.acquiredChannelCount:I
iconst_1
iadd
putfield io.netty.channel.pool.FixedChannelPool.acquiredChannelCount:I
3: aload 0
iconst_1
putfield io.netty.channel.pool.FixedChannelPool$AcquireListener.acquired:Z
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lio/netty/channel/pool/FixedChannelPool$AcquireListener;
}
Signature: Ljava/lang/Object;Lio/netty/util/concurrent/FutureListener<Lio/netty/channel/Channel;>;
SourceFile: "FixedChannelPool.java"
NestHost: io.netty.channel.pool.FixedChannelPool
InnerClasses:
private AcquireListener = io.netty.channel.pool.FixedChannelPool$AcquireListener of io.netty.channel.pool.FixedChannelPool